Forgot password
Forgot password blocks for shadcn/ui. Email request forms, split layouts, and check-your-inbox confirmation states for password recovery flows. Built for shadcn/ui.
The classic forgot-password screen for shadcn/ui: a centred max-w-sm Card with the logo and wordmark, a title and helper sentence, a single email Input with Label, a full-width "Send reset link" submit Button and a "Back to sign in" link with an ArrowLeft icon in the CardFooter. Drop-in for any product with email/password sign-in.
Two-column forgot-password page built with shadcn/ui: the left half is a bg-muted brand panel holding the logo, a customer quote with Avatar and three trust bullets in bordered icon tiles; the right half centres the email form with Label, Input, a submit Button and a Clock-icon note that the link expires in 30 minutes. Stacks to the form only below md. Suited to B2B products that want to reassure on security.
Stateful forgot-password Card for shadcn/ui with a small segmented control to preview both states. Request shows the email Input and submit Button; Sent swaps in a Mail icon in a bg-primary/10 circle, the masked address, an "Open mail app" outline Button, a ghost resend Button with a live 0:42 countdown driven by useEffect and a "Try another email" action that returns to the form. Good for flows that need a confirmation step.
Frequently asked questions
What the Forgot password blocks include, how to install them, and which ones are free.
3 Forgot password blocks for shadcn/ui:
- Centred card with email and back link
forgot-password-01(free) - Split layout with brand panel and trust bullets
forgot-password-02 - Request and check-your-inbox states
forgot-password-03
Set up the shadcn/ui Pro registry in your project once, as described in Installation, then run npx shadcn@latest add @shadcnpro/base/forgot-password-01. The block lands in components/blocks/forgot-password-01.tsx together with the shadcn/ui components and npm packages it uses. forgot-password-01 is free, so it installs without a license key.
Yes. Centred card with email and back link (forgot-password-01) is free: the code is shown on this page and it installs without a license key. The other 2 need a shadcn/ui Pro plan, which starts with a 7-day free trial.
Yes. Every Forgot password block uses semantic classes such as bg-background, text-muted-foreground and bg-primary, so it picks up your colors, radius and fonts and switches with dark mode. It is responsive from desktop to mobile; the width controls on the preview above let you check.
Yes. Every Forgot password block has a matching design in the shadcn/ui Pro Figma kit, so designers and developers work from the same layout. The /generate-code Agent Skill installs the block from the registry when it finds it in a Figma frame, instead of rebuilding it.
Yes. With the shadcn/ui Pro MCP server connected to Cursor, Claude Code or VS Code, describe what you need, for example "Use shadcnpro to add a centred card with email and back link." The agent finds the block with search_blocks, reads its install command and installs it after you approve.