1 slot open this monthBy the makers of shadcnregistryWe built shadcnregistry. Now we build your product.Book a callCheck availability
1 slot open this monthAI features?We build AI features into your product.Book a callCheck availability
1 slot open this month🚨 Slop police🚨 Slop police: we clean up vibe-coded apps.Report itReport your app
shadcnregistry
shadcnregistry
RegistryHealthInspect
Terms of ServicePrivacy Policy
  1. Registries
  2. mangacn
  3. Reset Password

Reset Password

block

The last screen of a manga 'forgot password' 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: 'A fresh start.', 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: a new password in an InputGroup with a show/hide toggle (aria-pressed, 'Show password' / 'Hide password', touch-hit, it reveals both fields) and a PasswordStrength gauge, a confirmation Input, a Save Button with its loading state. Field errors (empty, weak when the score is under 2, mismatch) appear on submit with focus on the first wrong field; the demo 'server' refuses the current password 'Lanterns42!' with the G8 error box (accent fill, edge-jagged, '!' mark, shake, role=alert). Success: the 'Saved!' Stamp lands and 'Back to sign in' calls onNavigate. 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/reset-password.json"
Premium blocks for shadcn/uiShadcnblocks.com · AffiliateExplore
  • cn
  • lucide-react
@components/manga/blocks/reset-password.tsx