{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "vault-unlock-01",
  "title": "Vault Unlock",
  "author": "VenusUI",
  "description": "A second sign-in step where you dial a three-part code into a safe.",
  "dependencies": [
    "lucide-react"
  ],
  "registryDependencies": [
    "https://venusui.com/r/safe-dial.json"
  ],
  "files": [
    {
      "path": "registry/default/blocks/vault-unlock-01/components/vault-unlock-01.tsx",
      "content": "\"use client\"\n\nimport * as React from \"react\"\nimport { ShieldCheck, Smartphone } from \"lucide-react\"\n\nimport { SafeDial } from \"@/registry/default/ui/safe-dial\"\n\n// For the demo only. In a real app the code comes from your authenticator flow and is checked on the server.\nconst CODE: [number, number, number] = [24, 8, 63]\n\n/** A playful second-step sign-in: dial the three-part code from your phone into the safe. */\nexport function VaultUnlock01() {\n  const [open, setOpen] = React.useState(false)\n\n  return (\n    <section aria-labelledby=\"vault-unlock-01-title\" className=\"py-24 sm:py-28\">\n      <div className=\"mx-auto grid max-w-5xl grid-cols-[minmax(0,1fr)] items-center gap-12 px-4 sm:px-6 lg:grid-cols-2\">\n        <div>\n          <h2 id=\"vault-unlock-01-title\" className=\"text-3xl font-semibold tracking-tight text-balance sm:text-4xl\">\n            One more step to your vault\n          </h2>\n          <p className=\"mt-3 leading-7 text-muted-foreground\">\n            Open your authenticator and dial the three numbers it shows. Press the centre after each one.\n          </p>\n          <div className=\"mt-8 flex max-w-sm items-center gap-4 rounded-2xl border bg-card p-5 text-card-foreground\">\n            <span className=\"grid size-11 shrink-0 place-items-center rounded-xl bg-muted\">\n              <Smartphone aria-hidden=\"true\" className=\"size-5\" />\n            </span>\n            <div>\n              <p className=\"text-xs text-muted-foreground\">Authenticator · demo code</p>\n              <p className=\"font-mono text-2xl font-semibold tracking-widest tabular-nums\">\n                {CODE.map((n) => String(n).padStart(2, \"0\")).join(\" · \")}\n              </p>\n            </div>\n          </div>\n          {open ? (\n            <p className=\"mt-6 flex items-center gap-2 font-medium text-emerald-700 dark:text-emerald-400\">\n              <ShieldCheck aria-hidden=\"true\" className=\"size-5\" />\n              You’re in. Redirecting to your vault…\n            </p>\n          ) : null}\n        </div>\n        <SafeDial code={CODE} onUnlock={() => setOpen(true)} className=\"mx-auto\" />\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:component"
    }
  ],
  "meta": {
    "version": "0.1.0"
  },
  "categories": [
    "auth"
  ],
  "type": "registry:block"
}