{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "auth-split",
  "title": "Auth Split",
  "description": "Split login/signup shell with editable CONTENT. No auth backend.",
  "dependencies": [
    "lucide-react",
    "next"
  ],
  "files": [
    {
      "path": "registry/default/blocks/auth-split.tsx",
      "content": "\"use client\"\n\nimport Link from \"next/link\"\nimport { ArrowRight, Lock } from \"lucide-react\"\n\n/**\n * Edit CONTENT to match your auth page. Split layout — sign-in panel on\n * the left, product preview on the right. DashboardShell is exported from\n * this same file so the block stays self-contained.\n * After install this file lives in your repo.\n */\nconst CONTENT = {\n  stamp: \"Welcome back\",\n  headlineBefore: \"Pick up\",\n  headlineAccent: \"where you left off\",\n  headlineAfter: \".\",\n  lede: \"Sign in to your workspace. New here? Create an account instead.\",\n  emailLabel: \"Work email\",\n  emailPlaceholder: \"you@company.com\",\n  passwordLabel: \"Password\",\n  submitLabel: \"Sign in\",\n  switchNote: \"New to the product?\",\n  switchCta: { label: \"Create an account\", href: \"/signup\" },\n  shellTitle: \"Workspace overview\",\n  shellCaption: \"Live preview — replace with your own dashboard.\",\n  metrics: [\n    { label: \"Active users\", value: \"8,412\" },\n    { label: \"Conversion\", value: \"4.2%\" },\n    { label: \"MRR\", value: \"$96k\" },\n  ],\n  rows: [\n    { name: \"Acme launch\", status: \"Live\", progress: \"100%\" },\n    { name: \"Billing portal\", status: \"In review\", progress: \"80%\" },\n    { name: \"Mobile PWA\", status: \"Building\", progress: \"45%\" },\n  ],\n}\n\n/** Placeholder product preview — swap for your real dashboard. */\nexport function DashboardShell() {\n  return (\n    <div className=\"@container overflow-hidden rounded-[var(--atro-panel-radius,var(--radius))] border border-border-subtle bg-background\">\n      <div className=\"flex items-center gap-3 border-b border-border-subtle bg-muted/70 px-3 py-2.5 @min-[40rem]:px-4\">\n        <div className=\"flex gap-1.5\" aria-hidden>\n          <span className=\"size-2.5 rounded-full bg-[#FF5F57]/80 dark:bg-[#FF5F57]/70\" />\n          <span className=\"size-2.5 rounded-full bg-[#FEBC2E]/80 dark:bg-[#FEBC2E]/70\" />\n          <span className=\"size-2.5 rounded-full bg-[#28C840]/80 dark:bg-[#28C840]/70\" />\n        </div>\n        <p className=\"min-w-0 flex-1 truncate text-center text-xs text-muted-foreground\">\n          {CONTENT.shellCaption}\n        </p>\n        <Lock className=\"size-3 shrink-0 text-muted-foreground/60\" aria-hidden />\n      </div>\n\n      <div className=\"grid grid-cols-1 @min-[40rem]:grid-cols-[160px_1fr]\">\n        <div className=\"hidden border-r border-border-subtle p-3 @min-[40rem]:block\">\n          <div className=\"space-y-1.5\" aria-hidden>\n            {[\"Overview\", \"Projects\", \"Billing\", \"Settings\"].map((item, i) => (\n              <div\n                key={item}\n                className={\n                  i === 0\n                    ? \"rounded-[var(--atro-control-radius,var(--radius))] bg-[color-mix(in_oklch,var(--brand)_12%,transparent)] px-2.5 py-1.5 text-xs font-medium text-foreground\"\n                    : \"rounded-[var(--atro-control-radius,var(--radius))] px-2.5 py-1.5 text-xs text-muted-foreground\"\n                }\n              >\n                {item}\n              </div>\n            ))}\n          </div>\n        </div>\n\n        <div className=\"min-w-0 p-4 @min-[40rem]:p-5\">\n          <p className=\"text-sm font-medium text-foreground\">\n            {CONTENT.shellTitle}\n          </p>\n          <dl className=\"mt-3 grid grid-cols-1 gap-2 @min-[40rem]:grid-cols-3\">\n            {CONTENT.metrics.map((metric) => (\n              <div\n                key={metric.label}\n                className=\"rounded-[var(--atro-control-radius,var(--radius))] border border-border-subtle bg-card p-2.5\"\n              >\n                <dd className=\"text-sm font-semibold tabular-nums text-foreground @min-[40rem]:text-base\">\n                  {metric.value}\n                </dd>\n                <dt className=\"mt-0.5 truncate text-[11px] text-muted-foreground\">\n                  {metric.label}\n                </dt>\n              </div>\n            ))}\n          </dl>\n          <ul className=\"mt-3 divide-y divide-border-subtle rounded-[var(--atro-control-radius,var(--radius))] border border-border-subtle\">\n            {CONTENT.rows.map((row) => (\n              <li\n                key={row.name}\n                className=\"flex items-center justify-between gap-3 px-3 py-2.5\"\n              >\n                <div className=\"min-w-0\">\n                  <p className=\"truncate text-xs font-medium text-foreground\">\n                    {row.name}\n                  </p>\n                  <p className=\"text-[11px] tabular-nums text-muted-foreground\">\n                    {row.progress}\n                  </p>\n                </div>\n                <span className=\"shrink-0 rounded-[var(--atro-control-radius,var(--radius))] border border-border-subtle bg-muted/60 px-2 py-0.5 text-[11px] text-muted-foreground\">\n                  {row.status}\n                </span>\n              </li>\n            ))}\n          </ul>\n        </div>\n      </div>\n    </div>\n  )\n}\n\nexport function AuthSplit() {\n  return (\n    <section className=\"border-t border-border-subtle bg-background text-foreground\">\n      <div className=\"border-b border-border-subtle\">\n        <div className=\"mx-auto grid max-w-7xl grid-cols-1 border-x border-border-subtle @min-[64rem]:grid-cols-2\">\n          <div className=\"flex flex-col justify-center px-6 py-12 @min-[40rem]:px-10 @min-[40rem]:py-16\">\n            <p className=\"atro-chip w-fit\">\n              <span className=\"size-1.5 rounded-full bg-brand\" aria-hidden />\n              {CONTENT.stamp}\n            </p>\n            <h2 className=\"mt-4 text-3xl font-medium tracking-tight text-foreground @min-[40rem]:text-4xl\">\n              {CONTENT.headlineBefore}{\" \"}\n              <span className=\"italic text-brand\">\n                {CONTENT.headlineAccent}\n              </span>\n              {CONTENT.headlineAfter}\n            </h2>\n            <p className=\"mt-3 max-w-md text-[15px] leading-relaxed text-muted-foreground\">\n              {CONTENT.lede}\n            </p>\n\n            <form\n              className=\"mt-8 max-w-md space-y-4\"\n              onSubmit={(e) => e.preventDefault()}\n            >\n              <div>\n                <label\n                  htmlFor=\"auth-split-email\"\n                  className=\"mb-1.5 block text-sm font-medium text-foreground\"\n                >\n                  {CONTENT.emailLabel}\n                </label>\n                <input\n                  id=\"auth-split-email\"\n                  type=\"email\"\n                  required\n                  autoComplete=\"email\"\n                  placeholder={CONTENT.emailPlaceholder}\n                  className=\"h-[var(--atro-control-height,2.25rem)] w-full rounded-[var(--atro-control-radius,var(--radius))] border border-border-subtle bg-background px-3 text-base text-foreground transition-[border-color,box-shadow] outline-none placeholder:text-muted-foreground/60 focus-visible:border-ring focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring @min-[40rem]:text-sm\"\n                />\n              </div>\n              <div>\n                <label\n                  htmlFor=\"auth-split-password\"\n                  className=\"mb-1.5 block text-sm font-medium text-foreground\"\n                >\n                  {CONTENT.passwordLabel}\n                </label>\n                <input\n                  id=\"auth-split-password\"\n                  type=\"password\"\n                  required\n                  autoComplete=\"current-password\"\n                  placeholder=\"••••••••\"\n                  className=\"h-[var(--atro-control-height,2.25rem)] w-full rounded-[var(--atro-control-radius,var(--radius))] border border-border-subtle bg-background px-3 text-base text-foreground transition-[border-color,box-shadow] outline-none placeholder:text-muted-foreground/60 focus-visible:border-ring focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring @min-[40rem]:text-sm\"\n                />\n              </div>\n              <button type=\"submit\" className=\"atro-btn w-full justify-center\">\n                {CONTENT.submitLabel}\n                <ArrowRight className=\"size-4\" aria-hidden />\n              </button>\n            </form>\n\n            <p className=\"mt-6 max-w-md text-sm text-muted-foreground\">\n              {CONTENT.switchNote}{\" \"}\n              <Link\n                href={CONTENT.switchCta.href}\n                className=\"font-medium text-brand\"\n              >\n                {CONTENT.switchCta.label}\n              </Link>\n            </p>\n          </div>\n\n          <div className=\"border-t border-border-subtle bg-muted/30 px-6 py-12 @min-[40rem]:px-10 @min-[40rem]:py-16 @min-[64rem]:border-t-0 @min-[64rem]:border-l\">\n            <div className=\"mx-auto max-w-md @min-[64rem]:max-w-none\">\n              <DashboardShell />\n            </div>\n          </div>\n        </div>\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:component",
      "target": "components/blocks/auth-split.tsx"
    }
  ],
  "type": "registry:block"
}