{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "login1",
  "title": "Login Exemple 1",
  "description": "Frequently asked questions section with collapsible items.",
  "dependencies": [
    "framer-motion",
    "lucide-react"
  ],
  "files": [
    {
      "path": "registry/default/blocks/SignUp/login1.tsx",
      "content": "\"use client\"\r\n\r\nimport { useState } from \"react\"\r\nimport Link from \"next/link\"\r\n\r\nexport default function LoginForm() {\r\n    const [showPassword, setShowPassword] = useState(false)\r\n\r\n    return (\r\n        <div className=\"min-h-screen flex items-center justify-center bg-background p-4\">\r\n            <div className=\"w-full max-w-4xl flex flex-col gap-6\">\r\n\r\n                {/* ── Card ── */}\r\n                <div className=\"overflow-hidden rounded-xl border border-border shadow-sm grid md:grid-cols-2 bg-card\">\r\n\r\n                    {/* ── Form side ── */}\r\n                    <form className=\"p-6 md:p-8 flex flex-col gap-6\">\r\n\r\n                        {/* Header */}\r\n                        <div className=\"flex flex-col items-center text-center\">\r\n                            <h1 className=\"text-2xl font-bold text-foreground\">Welcome back</h1>\r\n                            <p className=\"text-sm text-muted-foreground mt-1\">\r\n                                Sign in to your Bag\\Ui account\r\n                            </p>\r\n                        </div>\r\n\r\n                        {/* Email */}\r\n                        <div className=\"flex flex-col gap-1.5\">\r\n                            <label\r\n                                htmlFor=\"email\"\r\n                                className=\"text-sm font-medium text-foreground\"\r\n                            >\r\n                                Email\r\n                            </label>\r\n                            <input\r\n                                id=\"email\"\r\n                                type=\"email\"\r\n                                placeholder=\"you@example.com\"\r\n                                className=\"h-9 w-full rounded-md border border-input bg-transparent px-3 text-sm text-foreground placeholder:text-muted-foreground outline-none focus:ring-2 focus:ring-ring focus:border-transparent transition-shadow\"\r\n                            />\r\n                        </div>\r\n\r\n                        {/* Password */}\r\n                        <div className=\"flex flex-col gap-1.5\">\r\n                            <div className=\"flex items-center justify-between\">\r\n                                <label\r\n                                    htmlFor=\"password\"\r\n                                    className=\"text-sm font-medium text-foreground\"\r\n                                >\r\n                                    Password\r\n                                </label>\r\n                                <Link\r\n                                    href=\"/forgot-password\"\r\n                                    className=\"text-sm text-muted-foreground underline-offset-2 hover:underline\"\r\n                                >\r\n                                    Forgot password?\r\n                                </Link>\r\n                            </div>\r\n                            <div className=\"relative\">\r\n                                <input\r\n                                    id=\"password\"\r\n                                    type={showPassword ? \"text\" : \"password\"}\r\n                                    className=\"h-9 w-full rounded-md border border-input bg-transparent px-3 pr-10 text-sm text-foreground outline-none focus:ring-2 focus:ring-ring focus:border-transparent transition-shadow\"\r\n                                />\r\n                                <button\r\n                                    type=\"button\"\r\n                                    onClick={() => setShowPassword(!showPassword)}\r\n                                    aria-label={showPassword ? \"Hide password\" : \"Show password\"}\r\n                                    className=\"absolute right-3 top-1/2 -translate-y-1/2 text-muted-foreground hover:text-foreground transition-colors cursor-pointer\"\r\n                                >\r\n                                    {showPassword ? (\r\n                                        /* eye-off */\r\n                                        <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\">\r\n                                            <path d=\"M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94\"/>\r\n                                            <path d=\"M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19\"/>\r\n                                            <line x1=\"1\" y1=\"1\" x2=\"23\" y2=\"23\"/>\r\n                                        </svg>\r\n                                    ) : (\r\n                                        /* eye */\r\n                                        <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\">\r\n                                            <path d=\"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z\"/>\r\n                                            <circle cx=\"12\" cy=\"12\" r=\"3\"/>\r\n                                        </svg>\r\n                                    )}\r\n                                </button>\r\n                            </div>\r\n                        </div>\r\n\r\n                        {/* Submit */}\r\n                        <button\r\n                            type=\"submit\"\r\n                            className=\"h-9 w-full rounded-md bg-primary text-primary-foreground text-sm font-medium hover:bg-primary/90 active:scale-[0.98] transition-all cursor-pointer\"\r\n                        >\r\n                            Sign in\r\n                        </button>\r\n\r\n                        {/* Divider */}\r\n                        <div className=\"relative text-center text-xs text-muted-foreground\">\r\n                            <div className=\"absolute inset-0 flex items-center\">\r\n                                <div className=\"w-full border-t border-border\" />\r\n                            </div>\r\n                            <span className=\"relative bg-card px-3\">Or continue with</span>\r\n                        </div>\r\n\r\n                        {/* Social buttons */}\r\n                        <div className=\"grid grid-cols-3 gap-3\">\r\n\r\n                            {/* Apple — disabled */}\r\n                            <button\r\n                                type=\"button\"\r\n                                disabled\r\n                                aria-label=\"Sign in with Apple\"\r\n                                className=\"h-9 flex items-center justify-center rounded-md border border-border bg-transparent text-foreground opacity-40 cursor-not-allowed\"\r\n                            >\r\n                                <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" className=\"h-4 w-4\" fill=\"currentColor\">\r\n                                    <path 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                                </svg>\r\n                            </button>\r\n\r\n                            {/* Google */}\r\n                            <button\r\n                                type=\"button\"\r\n                                aria-label=\"Sign in with Google\"\r\n                                className=\"h-9 flex items-center justify-center rounded-md border border-border bg-transparent text-foreground hover:bg-accent transition-colors cursor-pointer\"\r\n                            >\r\n                                <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" className=\"h-4 w-4\" fill=\"currentColor\">\r\n                                    <path 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                                </svg>\r\n                            </button>\r\n\r\n                            {/* Meta — disabled */}\r\n                            <button\r\n                                type=\"button\"\r\n                                disabled\r\n                                aria-label=\"Sign in with Meta\"\r\n                                className=\"h-9 flex items-center justify-center rounded-md border border-border bg-transparent text-foreground opacity-40 cursor-not-allowed\"\r\n                            >\r\n                                <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" className=\"h-4 w-4\" fill=\"currentColor\">\r\n                                    <path d=\"M6.915 4.03c-1.968 0-3.683 1.28-4.871 3.113C.704 9.208 0 11.883 0 14.449c0 .706.07 1.369.21 1.973a6.624 6.624 0 0 0 .265.86 5.297 5.297 0 0 0 .371.761c.696 1.159 1.818 1.927 3.593 1.927 1.497 0 2.633-.671 3.965-2.444.76-1.012 1.144-1.626 2.663-4.32l.756-1.339.186-.325c.061.1.121.196.183.3l2.152 3.595c.724 1.21 1.665 2.556 2.47 3.314 1.046.987 1.992 1.22 3.06 1.22 1.075 0 1.876-.355 2.455-.843a3.743 3.743 0 0 0 .81-.973c.542-.939.861-2.127.861-3.745 0-2.72-.681-5.357-2.084-7.45-1.282-1.912-2.957-2.93-4.716-2.93-1.047 0-2.088.467-3.053 1.308-.652.57-1.257 1.29-1.82 2.05-.69-.875-1.335-1.547-1.958-2.056-1.182-.966-2.315-1.303-3.454-1.303zm10.16 2.053c1.147 0 2.188.758 2.992 1.999 1.132 1.748 1.647 4.195 1.647 6.4 0 1.548-.368 2.9-1.839 2.9-.58 0-1.027-.23-1.664-1.004-.496-.601-1.343-1.878-2.832-4.358l-.617-1.028a44.908 44.908 0 0 0-1.255-1.98c.07-.109.141-.224.211-.327 1.12-1.667 2.118-2.602 3.358-2.602zm-10.201.553c1.265 0 2.058.791 2.675 1.446.307.327.737.871 1.234 1.579l-1.02 1.566c-.757 1.163-1.882 3.017-2.837 4.338-1.191 1.649-1.81 1.817-2.486 1.817-.524 0-1.038-.237-1.383-.794-.263-.426-.464-1.13-.464-2.046 0-2.221.63-4.535 1.66-6.088.454-.687.964-1.226 1.533-1.533a2.264 2.264 0 0 1 1.088-.285z\"/>\r\n                                </svg>\r\n                            </button>\r\n                        </div>\r\n\r\n                        {/* Register link */}\r\n                        <p className=\"text-center text-sm text-muted-foreground\">\r\n                            Don&apos;t have an account?{\" \"}\r\n                            <Link href=\"/register\" className=\"text-foreground underline underline-offset-4\">\r\n                                Sign up\r\n                            </Link>\r\n                        </p>\r\n\r\n                        {/* Back to home */}\r\n                        <div className=\"flex justify-center\">\r\n                            <Link\r\n                                href=\"/\"\r\n                                className=\"inline-flex items-center gap-2 rounded-md border border-border bg-transparent px-3 h-8 text-sm text-foreground hover:bg-accent transition-colors\"\r\n                            >\r\n                                <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\">\r\n                                    <line x1=\"19\" y1=\"12\" x2=\"5\" y2=\"12\"/>\r\n                                    <polyline points=\"12 19 5 12 12 5\"/>\r\n                                </svg>\r\n                                Back to home\r\n                            </Link>\r\n                        </div>\r\n\r\n                    </form>\r\n\r\n                    {/* ── Image side ── */}\r\n                    <div className=\"relative hidden md:block bg-black\">\r\n                        <div className=\"absolute inset-0 bg-gradient-to-t from-black/60 to-transparent\" />\r\n                        <div className=\"absolute bottom-6 left-6 right-6 text-white\">\r\n                            <h2 className=\"text-2xl font-bold mb-2\">\r\n                                Build beautiful interfaces faster\r\n                            </h2>\r\n                            <p className=\"text-sm text-white/80\">\r\n                                Discover modern shadcn/ui components, animated sections, and production-ready blocks for your next project.\r\n                            </p>\r\n                        </div>\r\n                    </div>\r\n\r\n                </div>\r\n\r\n                {/* Terms */}\r\n                <p className=\"text-center text-xs text-muted-foreground [&_a]:underline [&_a]:underline-offset-4 hover:[&_a]:text-foreground\">\r\n                    By continuing, you agree to our{\" \"}\r\n                    <Link href=\"/terms\">Terms of Service</Link> and{\" \"}\r\n                    <Link href=\"/privacy\">Privacy Policy</Link>.\r\n                </p>\r\n\r\n            </div>\r\n        </div>\r\n    )\r\n}",
      "type": "registry:block",
      "target": "components/blocks/login1.tsx"
    }
  ],
  "type": "registry:block"
}