{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "auth-01",
  "title": "Sign in",
  "description": "A split sign-in page: email, password and Google on one side, a customer quote on the emphasised surface on the other. Renders in any Satori UI design system (cueit, skita, folio or a generated one): install a system first.",
  "registryDependencies": [
    "button",
    "input",
    "label",
    "separator"
  ],
  "files": [
    {
      "path": "design-systems/blocks/auth-01.tsx",
      "content": "import * as React from \"react\";\nimport { Button } from \"@/components/ui/button\";\nimport { Input } from \"@/components/ui/input\";\nimport { Label } from \"@/components/ui/label\";\nimport { Separator } from \"@/components/ui/separator\";\nimport { cn } from \"@/lib/utils\";\n\n/**\n * A split sign-in page: the form on one side, a customer quote on the\n * emphasised surface on the other. The quote panel drops away when the\n * container is narrow, so it works full-screen or inside a dialog.\n *\n * Written against the block contract only, so it takes the look of\n * whichever design system scopes it. Point `action` at your sign-in\n * handler (a server action or a URL).\n */\n\nfunction GoogleMark() {\n  return (\n    <svg viewBox=\"0 0 24 24\" aria-hidden=\"true\" className=\"size-4\">\n      <path fill=\"#4285F4\" d=\"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92a5.06 5.06 0 0 1-2.2 3.32v2.76h3.56c2.08-1.92 3.28-4.74 3.28-8.09Z\" />\n      <path fill=\"#34A853\" d=\"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.56-2.76c-.98.66-2.24 1.06-3.72 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84A11 11 0 0 0 12 23Z\" />\n      <path fill=\"#FBBC05\" d=\"M5.84 14.11A6.6 6.6 0 0 1 5.5 12c0-.73.13-1.44.34-2.11V7.05H2.18A11 11 0 0 0 1 12c0 1.78.43 3.45 1.18 4.95l3.66-2.84Z\" />\n      <path fill=\"#EA4335\" d=\"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15A10.96 10.96 0 0 0 12 1 11 11 0 0 0 2.18 7.05l3.66 2.84C6.71 7.3 9.14 5.38 12 5.38Z\" />\n    </svg>\n  );\n}\n\nexport type Auth01Props = Omit<React.ComponentProps<\"div\">, \"children\"> & {\n  brand?: string;\n  /** Where the form posts. */\n  action?: React.ComponentProps<\"form\">[\"action\"];\n  signUpHref?: string;\n  forgotHref?: string;\n};\n\nexport function Auth01({\n  brand = \"Duebird\",\n  action,\n  signUpHref = \"#\",\n  forgotHref = \"#\",\n  className,\n  ...props\n}: Auth01Props) {\n  return (\n    <div className={cn(\"@container/auth w-full\", className)} {...props}>\n      <div className=\"ds-shell grid min-h-[600px] overflow-hidden @3xl/auth:grid-cols-2\">\n        <div className=\"flex flex-col bg-background p-6 @md/auth:p-10\">\n          <div className=\"flex items-center gap-2.5\">\n            <span aria-hidden=\"true\" className=\"ds-mark flex size-7 items-center justify-center text-xs\">\n              {brand.charAt(0)}\n            </span>\n            <span className=\"ds-text font-semibold\">{brand}</span>\n          </div>\n\n          <div className=\"mx-auto flex w-full max-w-sm flex-1 flex-col justify-center gap-6 py-10\">\n            <div>\n              <h1 className=\"ds-title text-foreground\">Welcome back</h1>\n              <p className=\"ds-subtitle mt-1\">Sign in to pick up where you left off.</p>\n            </div>\n\n            <Button type=\"button\" variant=\"outline\" className=\"w-full\">\n              <GoogleMark />\n              Continue with Google\n            </Button>\n\n            <div className=\"flex items-center gap-3\">\n              <Separator className=\"flex-1\" />\n              <span className=\"ds-label\">or</span>\n              <Separator className=\"flex-1\" />\n            </div>\n\n            <form action={action} className=\"flex flex-col gap-4\">\n              <div className=\"flex flex-col gap-2\">\n                <Label htmlFor=\"auth-email\">Email</Label>\n                <Input id=\"auth-email\" name=\"email\" type=\"email\" autoComplete=\"email\" placeholder=\"you@company.com\" required />\n              </div>\n              <div className=\"flex flex-col gap-2\">\n                <div className=\"flex items-baseline justify-between gap-2\">\n                  <Label htmlFor=\"auth-password\">Password</Label>\n                  <a href={forgotHref} className=\"ds-link ds-small\">\n                    Forgot it?\n                  </a>\n                </div>\n                <Input id=\"auth-password\" name=\"password\" type=\"password\" autoComplete=\"current-password\" required />\n              </div>\n              <Button type=\"submit\" className=\"mt-1 w-full\">\n                Sign in\n              </Button>\n            </form>\n\n            <p className=\"ds-small text-center text-muted-foreground\">\n              New to {brand}?{\" \"}\n              <a href={signUpHref} className=\"ds-link\">\n                Create an account\n              </a>\n            </p>\n          </div>\n\n          <p className=\"ds-meta\">By signing in you agree to the terms and privacy policy.</p>\n        </div>\n\n        <aside className=\"ds-tile-emphasis m-3 hidden flex-col justify-between gap-10 p-10 @3xl/auth:flex\">\n          <p className=\"ds-label\">What teams say</p>\n          <figure className=\"flex flex-col gap-6\">\n            <blockquote className=\"ds-title\">\n              “We closed the books two days faster the first month. Nobody chases invoices any more.”\n            </blockquote>\n            <figcaption className=\"ds-small\">\n              <span className=\"block font-medium\">Ines Okafor</span>\n              <span className=\"text-muted-foreground\">Head of finance, Kettle & Fern</span>\n            </figcaption>\n          </figure>\n          <dl className=\"grid grid-cols-3 gap-4\">\n            {[\n              { k: \"Teams\", v: \"4,200\" },\n              { k: \"Invoices sent\", v: \"1.2M\" },\n              { k: \"Uptime\", v: \"99.98%\" },\n            ].map(({ k, v }) => (\n              <div key={k}>\n                <dt className=\"ds-label\">{k}</dt>\n                <dd className=\"ds-stat mt-1\">{v}</dd>\n              </div>\n            ))}\n          </dl>\n        </aside>\n      </div>\n    </div>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/satori-ui/blocks/auth-01.tsx"
    }
  ],
  "type": "registry:block"
}