{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "unlock-01",
  "title": "Unlock Screen",
  "author": "VenusUI",
  "description": "A sign-in approval screen with a passcode pad and the details of the sign-in.",
  "dependencies": [
    "lucide-react"
  ],
  "registryDependencies": [
    "https://venusui.com/r/passcode-pad.json"
  ],
  "files": [
    {
      "path": "registry/default/blocks/unlock-01/components/unlock-01.tsx",
      "content": "\"use client\"\n\nimport { Laptop, MapPin, ShieldCheck } from \"lucide-react\"\n\nimport { PasscodePad } from \"@/registry/default/ui/passcode-pad\"\n\n// The device and place are made up. The demo passcode is 2580.\nconst details = [\n  { icon: Laptop, label: \"Device\", value: \"MacBook Pro · Safari\" },\n  { icon: MapPin, label: \"Location\", value: \"Lisbon, Portugal\" },\n  { icon: ShieldCheck, label: \"Requested\", value: \"Just now\" },\n]\n\n/** A step-up verification screen: the passcode pad beside the sign-in it's protecting. */\nexport function Unlock01() {\n  return (\n    <section aria-labelledby=\"unlock-01-title\" className=\"py-24 sm:py-28\">\n      <div className=\"mx-auto grid max-w-4xl items-center gap-12 px-4 sm:px-6 md:grid-cols-2\">\n        <div>\n          <p className=\"text-sm font-medium text-muted-foreground\">Security check</p>\n          <h2 id=\"unlock-01-title\" className=\"mt-2 text-3xl font-semibold tracking-tight text-balance sm:text-4xl\">\n            Is this you signing in?\n          </h2>\n          <p className=\"mt-3 text-muted-foreground\">Enter your 4-digit app passcode to approve this sign-in. If it wasn’t you, ignore it and nothing happens.</p>\n          <dl className=\"mt-8 divide-y rounded-2xl border bg-card\">\n            {details.map(({ icon: Icon, label, value }) => (\n              <div key={label} className=\"flex items-center gap-3 px-4 py-3 text-sm\">\n                <Icon aria-hidden=\"true\" className=\"size-4 text-muted-foreground\" />\n                <dt className=\"text-muted-foreground\">{label}</dt>\n                <dd className=\"ml-auto font-medium\">{value}</dd>\n              </div>\n            ))}\n          </dl>\n          <p className=\"mt-4 text-xs text-muted-foreground\">Demo passcode: 2580</p>\n        </div>\n        <div className=\"flex justify-center rounded-[2rem] border bg-card px-6 py-10 shadow-sm\">\n          <PasscodePad\n            title=\"Enter your passcode\"\n            successMessage=\"Sign-in approved\"\n            onSubmit={(code) => new Promise((resolve) => setTimeout(() => resolve(code === \"2580\"), 250))}\n          />\n        </div>\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:component"
    }
  ],
  "meta": {
    "version": "0.1.0"
  },
  "categories": [
    "auth"
  ],
  "type": "registry:block"
}