{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "auth-6",
  "description": "A clean forgot password form with instructions.",
  "registryDependencies": [
    "button",
    "input",
    "label"
  ],
  "files": [
    {
      "path": "registry/blocks/auth/6/forgot-password-form.tsx",
      "content": "\"use client\";\n\nimport { ArrowLeft, MailIcon } from \"lucide-react\";\nimport { Plus } from \"@/components/plus\";\nimport { Button } from \"@/components/ui/button\";\nimport { Input } from \"@/components/ui/input\";\nimport { Label } from \"@/components/ui/label\";\n\nexport function ForgotPasswordForm() {\n  return (\n    <div className=\"group relative w-full max-w-md overflow-hidden rounded-2xl border bg-background p-8 shadow-lg\">\n      <Plus className=\"-top-px -left-px\" />\n      <Plus className=\"-top-px -right-px rotate-90\" />\n      <Plus className=\"-bottom-px -left-px -rotate-90\" />\n      <Plus className=\"-bottom-px -right-px rotate-180\" />\n\n      <div className=\"mb-8 flex flex-col items-center gap-4\">\n        <div className=\"mb-2 flex size-12 items-center justify-center rounded-full bg-primary/5\">\n          <MailIcon className=\"size-6 text-primary/60\" />\n        </div>\n        <div className=\"text-center\">\n          <h2 className=\"font-bold text-2xl tracking-tight\">\n            Forgot Password?\n          </h2>\n          <p className=\"max-w-[280px] text-muted-foreground text-sm\">\n            No worries, we&apos;ll send you reset instructions via email.\n          </p>\n        </div>\n      </div>\n\n      <form className=\"space-y-4\" onSubmit={(e) => e.preventDefault()}>\n        <div className=\"grid gap-2 text-start\">\n          <Label htmlFor=\"email\">Email Address</Label>\n          <Input\n            className=\"h-10\"\n            id=\"email\"\n            placeholder=\"name@example.com\"\n            type=\"email\"\n          />\n        </div>\n\n        <Button\n          className=\"mt-2 h-11 w-full font-semibold shadow-sm transition-all active:scale-[0.98]\"\n          type=\"submit\"\n        >\n          Send Reset Link\n        </Button>\n\n        <a\n          className=\"mt-6 flex items-center justify-center gap-2 font-medium text-muted-foreground text-xs transition-colors hover:text-primary\"\n          href=\"#\"\n        >\n          <ArrowLeft className=\"size-3\" />\n          Back to Sign In\n        </a>\n      </form>\n    </div>\n  );\n}\n",
      "type": "registry:component"
    },
    {
      "path": "components/logo.tsx",
      "content": "\"use client\";\n\nimport Image from \"next/image\";\nimport { useTheme } from \"next-themes\";\nimport { useEffect, useState } from \"react\";\nimport { cn } from \"@/lib/utils\";\n\ntype LogoProps = {\n  className?: string;\n};\n\nexport const LogoIcon = ({ className }: LogoProps) => {\n  const { theme, systemTheme } = useTheme();\n  const [mounted, setMounted] = useState(false);\n\n  useEffect(() => {\n    setMounted(true);\n  }, []);\n\n  if (!mounted) {\n    return (\n      <span\n        className={cn(\n          \"inline-block size-6 animate-pulse rounded-full bg-muted\",\n          className\n        )}\n      />\n    );\n  }\n\n  const currentTheme = theme === \"system\" ? systemTheme : theme;\n  const src =\n    currentTheme === \"dark\"\n      ? \"/logo/freddy-logo-icon-light.png\"\n      : \"/logo/freddy-logo-icon-dark.png\";\n\n  return (\n    <Image\n      alt=\"Freddy UI\"\n      className={cn(\"size-6 object-contain\", className)}\n      height={250}\n      priority\n      src={src}\n      width={250}\n    />\n  );\n};\n\nexport const Logo = ({ className }: LogoProps) => {\n  const { theme, systemTheme } = useTheme();\n  const [mounted, setMounted] = useState(false);\n\n  useEffect(() => {\n    setMounted(true);\n  }, []);\n\n  if (!mounted) {\n    return (\n      <span\n        className={cn(\n          \"inline-block h-6 w-24 animate-pulse rounded bg-muted\",\n          className\n        )}\n      />\n    );\n  }\n\n  const currentTheme = theme === \"system\" ? systemTheme : theme;\n  const src =\n    currentTheme === \"dark\"\n      ? \"/logo/freddy-logo-light.png\"\n      : \"/logo/freddy-logo-dark.png\";\n\n  return (\n    <Image\n      alt=\"Freddy UI\"\n      className={cn(\"h-6 w-auto object-contain\", className)}\n      height={106}\n      priority\n      src={src}\n      width={344}\n    />\n  );\n};\n",
      "type": "registry:component"
    }
  ],
  "categories": [
    "auth"
  ],
  "type": "registry:block"
}