The one-time code screen of a manga auth flow, made only with mangacn. A manga Panel shows the picture you pass for each state (pictures), focus SpeedLines around her, 'ピコン' Sfx lettering and a SpeechBubble that reacts: 'Check your inbox!', a shout bubble 'Huh?!' on error, 'Yes!' on success. From 48rem of container width the panel sits on the start side at the full height of the form; under it the panel is a 4:3 picture above the form. The form, in a case (G1) when there is room: InputOTP with one group of 6 digits (fits 360px), a Button with its loading state, a resend link after a 30 s countdown (only the end and the resend are announced) and 'Use another email'. Fewer than six digits shows a Field error; the wrong code 000000 shows the G8 error box (accent fill, edge-jagged, '!' mark, shake, role=alert) and the InputOTP invalid look, focus back in the code; any other full code loads, then the success Stamp lands with the next action. The purpose prop (sign-in, sign-up, reset) changes the copy, the stamp ('Welcome back!', 'Welcome!', 'Verified!') and the next screen. Links call onNavigate and never navigate by themselves. One column on phones with 44px touch targets; container queries widen it. Works in light, dark, any accent and with Radix or Base UI.
pnpm dlx shadcn@latest add "https://mangacn.romain-sonnet.fr/r/verify-code.json"