# Forgot Password One

> A compact password-recovery card with email input, submit action, and return link.

A shadcn/ui block from the [@navui](https://ui.navdeepsingh.dev) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/navui/forgot-password-one).

- Page, with a live preview: https://shadcn.exchange/r/navui/forgot-password-one
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/navui/forgot-password-one-light-978e17ec246d3cbe.png
- Registry item: https://ui.navdeepsingh.dev/r/forgot-password-one.json
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://ui.navdeepsingh.dev/r/forgot-password-one.json
```

Run it in a project that has shadcn/ui set up. It adds the files below and installs what they depend on.

## Dependencies

- npm packages: `@tabler/icons-react`
- Registry items: `button`, `input`, `label`

## Files

### `src/registry/blocks/forgot-password/forgot-password-one/forgot-password-one.tsx`

```tsx
import { Button } from '@/components/ui/button'
import { Input } from '@/components/ui/input'
import { Label } from '@/components/ui/label'
import { IconFingerprint } from '@tabler/icons-react'
import Link from 'next/link'

export default function ForgotPasswordOne() {
  return (
    <section className="flex min-h-screen bg-zinc-50 px-4 py-16 md:py-32 dark:bg-transparent">
      <form className="m-auto h-fit w-full max-w-sm overflow-hidden rounded-[calc(var(--radius)+.125rem)] border bg-muted shadow-md shadow-zinc-950/5 dark:[--color-muted:var(--color-zinc-900)]">
        <div className="-m-px rounded-[calc(var(--radius)+.125rem)] border bg-card p-8 pb-6">
          <div className="flex items-start gap-4">
            <div className="flex size-11 shrink-0 items-center justify-center">
              <IconFingerprint aria-hidden="true" className="size-10 text-red-400" />
            </div>
            <div>
              <h1 className="text-xl font-semibold tracking-tight">Forgot your password?</h1>
              <p className="mt-1.5 text-sm text-muted-foreground">
                Don&apos;t worry we will send you reset instructions
              </p>
            </div>
          </div>

          <div className="mt-7 space-y-5">
            <div className="space-y-2">
              <Label htmlFor="email" className="block text-sm font-medium">
                Email address
              </Label>
              <Input
                type="email"
                required
                name="email"
                id="email"
                autoComplete="email"
                placeholder="you@company.com"
              />
            </div>

            <Button type="submit" className="w-full">
              Email me a reset link
            </Button>
          </div>

          <p className="mt-5 text-center text-xs text-muted-foreground">
            Follow the instructions in the email.
          </p>
        </div>

        <div className="p-4">
          <p className="text-center text-sm text-accent-foreground">
            <Link
              href="/work/forgot-password/one"
              className="group text-sm text-muted-foreground transition-colors hover:text-foreground"
            >
              ← Back to <span className="font-medium group-hover:underline">Sign In</span>
            </Link>
          </p>
        </div>
      </form>
    </section>
  )
}
```
