{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "login-minimal",
  "title": "Minimal login",
  "description": "The bare-minimum sign-in — no card chrome, a single email field, sign-in by one-time code.",
  "registryDependencies": [
    "input",
    "label",
    "button",
    "https://www.quilldesignsystem.com/r/icon.json"
  ],
  "files": [
    {
      "path": "registry/blocks/login-minimal.tsx",
      "content": "'use client'\nimport { Input } from '@/components/ui/input'\nimport { Label } from '@/components/ui/label'\nimport { Button } from '@/components/ui/button'\nimport { Icon } from '@/components/ui/icon'\n\n/** The bare-minimum sign-in — no card chrome, a single email field, sign-in by one-time code. */\nexport function Minimal() {\n  return (\n    <form className=\"flex w-card-sm flex-col gap-5\" onSubmit={(e) => e.preventDefault()}>\n      <div className=\"flex flex-col items-center gap-2 text-center\">\n        <span className=\"flex size-9 items-center justify-center rounded-md bg-primary text-sm font-medium text-primary-foreground\">\n          Q\n        </span>\n        <h1 className=\"fraunces-text font-heading text-lg text-foreground\">Sign in to Quill</h1>\n      </div>\n      <div className=\"flex flex-col gap-1.5\">\n        <Label htmlFor=\"min-email\">Email</Label>\n        <Input id=\"min-email\" type=\"email\" placeholder=\"you@example.com\" />\n      </div>\n      <Button className=\"w-full\">\n        Continue <Icon name=\"arrow_forward\" />\n      </Button>\n      <p className=\"text-center text-xs leading-reading text-muted-foreground\">\n        We&rsquo;ll email you a one-time code. No password needed.\n      </p>\n    </form>\n  )\n}\n",
      "type": "registry:component",
      "target": "components/quill/login-minimal.tsx"
    }
  ],
  "meta": {
    "intent": [
      "auth"
    ],
    "use_when": "You need the leanest possible sign-in — one email field that sends a one-time code, no password.",
    "not_for": "you're collecting a password, not sending a one-time code — this pattern has no password field at all → login; you want a provider-first flow instead of email-only → login-oauth; the user already submitted their email and you're now showing the six-digit code entry — that's a separate step from this one → otp-verification"
  },
  "docs": "The bare-minimum sign-in — no card chrome, a single email field, sign-in by one-time code. Do: Reserve the bare, uncontained layout for cases where the surrounding page or modal already frames it. Don't: Drop this pattern directly onto a busy page background with nothing to separate it visually. Use login when you're collecting a password, not sending a one-time code — this pattern has no password field at all. Use login-oauth when you want a provider-first flow instead of email-only. Use otp-verification when the user already submitted their email and you're now showing the six-digit code entry — that's a separate step from this one.",
  "categories": [
    "auth"
  ],
  "type": "registry:block"
}