Build a recovery-code sign-in card with Tailwind CSS. Include a security icon, clear explanation, a segmented-looking code input, remaining-code notice, primary Verify button, and links back to authenticator sign-in or support. Add JavaScript that uppercases and formats the code as XXXX-XXXX, validates eight alphanumeric characters, shows an inline error after an invalid attempt, disables the button while checking, and replaces the form with a success state when the demo code SAFE2026 is entered.
Paste it into Claude, Cursor, v0 or any AI coding tool. Prefer the
finished markup? .
Build a recovery-code sign-in card with Tailwind CSS. Include a security icon, clear explanation, a segmented-looking code input, remaining-code notice, primary Verify button, and links back to authenticator sign-in or support. Add JavaScript that uppercases and formats the code as XXXX-XXXX, validates eight alphanumeric characters, shows an inline error after an invalid attempt, disables the button while checking, and replaces the form with a success state when the demo code SAFE2026 is entered.