{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "auth-5",
  "description": "A premium reset password form with branded ornaments.",
  "registryDependencies": [
    "button",
    "input",
    "label"
  ],
  "files": [
    {
      "path": "registry/blocks/auth/5/reset-password-form.tsx",
      "content": "\"use client\";\n\nimport { EyeIcon } from \"lucide-react\";\nimport { LogoIcon } from \"@/components/logo\";\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 ResetPasswordForm() {\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        <LogoIcon className=\"size-8\" />\n        <div className=\"text-center\">\n          <h2 className=\"font-bold text-2xl tracking-tight\">Reset Password</h2>\n          <p className=\"text-muted-foreground text-sm\">\n            Please enter your new password below\n          </p>\n        </div>\n      </div>\n\n      <form className=\"space-y-4\" onSubmit={(e) => e.preventDefault()}>\n        <div className=\"grid gap-4\">\n          <div className=\"grid gap-2 text-start\">\n            <Label htmlFor=\"new-password\">New Password</Label>\n            <div className=\"relative\">\n              <Input\n                className=\"h-10 pr-10\"\n                id=\"new-password\"\n                placeholder=\"••••••••\"\n                type=\"password\"\n              />\n              <button\n                className=\"-translate-y-1/2 absolute top-1/2 right-3 text-muted-foreground transition-colors hover:text-foreground\"\n                title=\"Toggle password visibility\"\n                type=\"button\"\n              >\n                <EyeIcon className=\"size-4\" />\n              </button>\n            </div>\n          </div>\n          <div className=\"grid gap-2 text-start\">\n            <Label htmlFor=\"confirm-password\">Confirm Password</Label>\n            <div className=\"relative\">\n              <Input\n                className=\"h-10 pr-10\"\n                id=\"confirm-password\"\n                placeholder=\"••••••••\"\n                type=\"password\"\n              />\n              <button\n                className=\"-translate-y-1/2 absolute top-1/2 right-3 text-muted-foreground transition-colors hover:text-foreground\"\n                title=\"Toggle password visibility\"\n                type=\"button\"\n              >\n                <EyeIcon className=\"size-4\" />\n              </button>\n            </div>\n          </div>\n        </div>\n\n        <Button\n          className=\"mt-4 h-11 w-full font-semibold shadow-sm transition-all active:scale-[0.98]\"\n          type=\"submit\"\n        >\n          Reset Password\n        </Button>\n\n        <p className=\"mt-6 text-center text-muted-foreground text-xs\">\n          Suddenly remembered?{\" \"}\n          <a className=\"font-medium text-primary hover:underline\" href=\"#\">\n            Back to Sign In\n          </a>\n        </p>\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"
}