{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "login-3",
  "type": "registry:component",
  "description": "A Card component with optional code display for UI blocks.",
  "registryDependencies": [
    "button",
    "field",
    "input",
    "card"
  ],
  "files": [
    {
      "path": "src/app/components/ui-blocks/cards/code/LoginFormThreeCode.tsx",
      "content": "import { cn } from \"@/lib/utils\"\r\nimport { Button } from \"@/components/ui/button\"\r\nimport {\r\n    Card,\r\n    CardContent,\r\n    CardDescription,\r\n    CardHeader,\r\n    CardTitle,\r\n} from \"@/components/ui/card\"\r\nimport {\r\n    Field,\r\n    FieldDescription,\r\n    FieldGroup,\r\n    FieldLabel,\r\n    FieldSeparator,\r\n} from \"@/components/ui/field\"\r\nimport { Input } from \"@/components/ui/input\"\r\nimport Link from \"next/link\"\r\nimport Image from \"next/image\"\r\n\r\nexport default function LoginForm({\r\n    className,\r\n    ...props\r\n}: React.ComponentProps<\"div\">) {\r\n    return (\r\n        <section>\r\n            <div className=\"bg-muted flex min-h-svh flex-col items-center justify-center gap-6 p-6 md:p-10\">\r\n                <div className=\"flex w-full max-w-sm flex-col gap-6\">\r\n                    <Link href={\"/\"} className=\"flex items-center justify-center\">\r\n                        <Image src={\"https://tailwind-admin.com/images/logo/white-logo.svg\"} alt=\"Tailwindadmin white logo\" width={200} height={40} className=\"dark:block hidden\" />\r\n                    </Link>\r\n                    <div className={cn(\"flex flex-col gap-6\", className)} {...props}>\r\n                        <Card>\r\n                            <CardHeader className=\"text-center\">\r\n                                <CardTitle className=\"text-xl\">Welcome back</CardTitle>\r\n                                <CardDescription>\r\n                                    Login with your Apple or Google account\r\n                                </CardDescription>\r\n                            </CardHeader>\r\n                            <CardContent>\r\n                                <form>\r\n                                    <FieldGroup>\r\n                                        <Field>\r\n                                            <Button variant=\"outline\" type=\"button\">\r\n                                                <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\r\n                                                    <path\r\n                                                        d=\"M12.152 6.896c-.948 0-2.415-1.078-3.96-1.04-2.04.027-3.91 1.183-4.961 3.014-2.117 3.675-.546 9.103 1.519 12.09 1.013 1.454 2.208 3.09 3.792 3.039 1.52-.065 2.09-.987 3.935-.987 1.831 0 2.35.987 3.96.948 1.637-.026 2.676-1.48 3.676-2.948 1.156-1.688 1.636-3.325 1.662-3.415-.039-.013-3.182-1.221-3.22-4.857-.026-3.04 2.48-4.494 2.597-4.559-1.429-2.09-3.623-2.324-4.39-2.376-2-.156-3.675 1.09-4.61 1.09zM15.53 3.83c.843-1.012 1.4-2.427 1.245-3.83-1.207.052-2.662.805-3.532 1.818-.78.896-1.454 2.338-1.273 3.714 1.338.104 2.715-.688 3.559-1.701\"\r\n                                                        fill=\"currentColor\"\r\n                                                    />\r\n                                                </svg>\r\n                                                Login with Apple\r\n                                            </Button>\r\n                                            <Button variant=\"outline\" type=\"button\">\r\n                                                <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\r\n                                                    <path\r\n                                                        d=\"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\"\r\n                                                        fill=\"currentColor\"\r\n                                                    />\r\n                                                </svg>\r\n                                                Login with Google\r\n                                            </Button>\r\n                                        </Field>\r\n                                        <FieldSeparator className=\"*:data-[slot=field-separator-content]:bg-card\">\r\n                                            Or continue with\r\n                                        </FieldSeparator>\r\n                                        <Field>\r\n                                            <FieldLabel htmlFor=\"email\">Email</FieldLabel>\r\n                                            <Input\r\n                                                id=\"email\"\r\n                                                type=\"email\"\r\n                                                placeholder=\"m@example.com\"\r\n                                                required\r\n                                            />\r\n                                        </Field>\r\n                                        <Field>\r\n                                            <div className=\"flex items-center\">\r\n                                                <FieldLabel htmlFor=\"password\">Password</FieldLabel>\r\n                                                <a\r\n                                                    href=\"#\"\r\n                                                    className=\"ml-auto text-sm underline-offset-4 hover:underline\"\r\n                                                >\r\n                                                    Forgot your password?\r\n                                                </a>\r\n                                            </div>\r\n                                            <Input id=\"password\" type=\"password\" required />\r\n                                        </Field>\r\n                                        <Field>\r\n                                            <Button type=\"submit\">Login</Button>\r\n                                            <FieldDescription className=\"text-center\">\r\n                                                Don&apos;t have an account? <a href=\"#\">Sign up</a>\r\n                                            </FieldDescription>\r\n                                        </Field>\r\n                                    </FieldGroup>\r\n                                </form>\r\n                            </CardContent>\r\n                        </Card>\r\n                        <FieldDescription className=\"px-6 text-center\">\r\n                            By clicking continue, you agree to our <a href=\"#\">Terms of Service</a>{\" \"}\r\n                            and <a href=\"#\">Privacy Policy</a>.\r\n                        </FieldDescription>\r\n                    </div>\r\n                </div>\r\n            </div>\r\n        </section>\r\n    )\r\n}\r\n",
      "type": "registry:component",
      "target": "components/tailwind-admin/cards/login/LoginFormCode.tsx"
    }
  ]
}