{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "forgot-password",
  "title": "Forgot password",
  "description": "A password-reset request card — an email field, a send-link action, and a way back to sign in.",
  "registryDependencies": [
    "card",
    "input",
    "label",
    "button",
    "https://www.quilldesignsystem.com/r/icon.json"
  ],
  "files": [
    {
      "path": "registry/blocks/forgot-password.tsx",
      "content": "import {\n  Card,\n  CardHeader,\n  CardTitle,\n  CardDescription,\n  CardContent,\n  CardFooter,\n} from '@/components/ui/card'\nimport { Input } from '@/components/ui/input'\nimport { Label } from '@/components/ui/label'\nimport { Button } from '@/components/ui/button'\nimport { Icon } from '@/components/ui/icon'\n\n/** A password-reset request card — an email field, a send-link action, and a way back to sign in. */\nexport function ForgotPassword() {\n  return (\n    <Card className=\"w-card\">\n      <CardHeader>\n        <CardTitle>Reset your password</CardTitle>\n        <CardDescription>\n          Enter the email you signed up with and we&rsquo;ll send you a reset link.\n        </CardDescription>\n      </CardHeader>\n      <CardContent className=\"flex flex-col gap-4\">\n        <div className=\"flex flex-col gap-1.5\">\n          <Label htmlFor=\"forgot-email\">Email</Label>\n          <Input id=\"forgot-email\" type=\"email\" placeholder=\"you@example.com\" />\n        </div>\n      </CardContent>\n      <CardFooter className=\"flex-col gap-2\">\n        <Button className=\"w-full\">Send reset link</Button>\n        <Button variant=\"ghost\" className=\"w-full\">\n          <Icon name=\"arrow_back\" /> Back to sign in\n        </Button>\n      </CardFooter>\n    </Card>\n  )\n}\n",
      "type": "registry:component",
      "target": "components/quill/forgot-password.tsx"
    }
  ],
  "meta": {
    "intent": [
      "auth"
    ],
    "use_when": "You need a password-reset request card that sends a recovery link.",
    "not_for": "recovery works by a typed one-time code rather than an emailed link → otp-verification; the user hasn't actually forgotten anything — this card is only the detour reached from login's \"Forgot your password?\" link → login"
  },
  "docs": "A password-reset request card — an email field, a send-link action, and a way back to sign in. Do: Keep the ghost \"Back to sign in\" button so a user who clicked in by mistake isn't stuck. Don't: Ship this card as a dead end with no return path to sign-in. Use otp-verification when recovery works by a typed one-time code rather than an emailed link. Use login when the user hasn't actually forgotten anything — this card is only the detour reached from login's \"Forgot your password?\" link.",
  "categories": [
    "auth"
  ],
  "type": "registry:block"
}