LedgerlyConceptInteractive preview
Ledgerly: Verify your email
A six-box verification code screen with paste and autofill, a resend countdown, a live expiry, a wrong-code shake and a celebratory success state.
- Category
- Authentication
- Platform
- Web
Interactive screenClick through it, resize it, or switch states. It’s real UI, not a screenshot.Enter code state
Use this screen
Free to use. It works on its own in any React and Tailwind project, so you can add it with one command, paste the code, or hand the prompt to your coding agent.
FreeReact 18+Tailwind v3.4 or v4No extra packages
1. Add it with the shadcn CLI
npx shadcn@latest add https://www.thatdesignui.com/r/screens/ledgerly-verify-email.json2. Use it
Every prop is optionalapp/page.tsx
import LedgerlyVerifyEmail from "@/components/ledgerly-verify-email";
export default function Page() {
return <LedgerlyVerifyEmail />;
}Prefer to paste it yourself? Open the .
Under the hood
How it’s built
What’s inside
- A cream (#f4efe4) page with faint ruled ledger lines fading out from the centre, ring outlines top right, and a centred 540px card (#fffdf7, 28px radius, 1.5px #e0d9c6 border). Inside: a floating green envelope tile with a gold '1' badge, a serif 'Check your inbox' with an italic green 'inbox', and the address in a pill with a 'Change' button.
- Six code boxes (54x64px, 14px radius; 42x54px on phones) split 3 and 3 by a short dash. Typing advances, Backspace steps back and clears, arrows/Home/End move, letters are ignored with a note, and pasting or one-time-code autofill of six digits fills every box. A full code is checked automatically after a short 'Checking your code…'.
- The demo code 482913 turns the boxes green in a left-to-right wave, then shows a popping check badge with a confetti burst, 'Welcome aboard, Maya' (first name in italic green), three numbered next steps and 'Continue to Ledgerly'. Any other code shakes the row, turns it red, says how many of five tries are left and clears it; five misses lock it until a new code is sent.
- Below the boxes: a 'Verify email' button, 'Didn't get it? Resend in 0:30' counting down to a 'Resend code' link, a 'Code expires in 10:00' live countdown (red under a minute), and a dashed hint 'For this demo, use 482913' with a 'Fill it in' button.
How it behaves
- Pasting 482913 into any box fills all six and verifies; the success view greets the user by first name.
- Entering 111111 shakes the row, shows 'That code doesn't match. 4 tries left.' and clears the boxes with focus back on the first.
- Backspace in an empty box moves to the previous box and clears it; typing a letter is ignored.
- The resend link is unavailable for 30 seconds and then sends a new code that resets the tries and the 10 minute expiry.
- 'Change' turns the address into an inline field; saving a new address shows it in the pill and sends a new code.
- With reduced motion there is no shake, float or confetti, and the check mark is drawn immediately.



