{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "two-factor-setup",
  "type": "registry:ui",
  "title": "Two factor setup",
  "description": "Two-factor setup card with a QR code area, a one-time code input and a Verify and enable button, guiding users through linking an authenticator app in React.",
  "dependencies": [],
  "registryDependencies": [
    "https://ui.minidev.pro/r/auth-card.json",
    "https://ui.minidev.pro/r/button.json",
    "https://ui.minidev.pro/r/otp-input.json"
  ],
  "files": [
    {
      "path": "registry/ui/two-factor-setup.tsx",
      "type": "registry:ui",
      "target": "components/ui/two-factor-setup.tsx",
      "content": "\"use client\"\nimport { AuthCard } from \"@/components/ui/auth-card\"\nimport { OtpInput } from \"@/components/ui/otp-input\"\nimport { Button } from \"@/components/ui/button\"\nfunction TwoFactorSetup() {\n  return (\n    <div data-slot=\"two-factor-setup\">\n      <AuthCard title=\"Set up 2FA\" footer=\"Scan the QR in your authenticator app, then enter a code.\">\n      <div className=\"flex h-32 items-center justify-center rounded-xl border border-dashed border-border bg-sunken text-xs text-fg-muted\">\n        QR placeholder\n      </div>\n      <OtpInput />\n      <Button className=\"w-full\">Verify and enable</Button>\n    </AuthCard>\n    </div>\n  )\n}\nexport { TwoFactorSetup }\n"
    }
  ]
}
