Two-Factor Setup 01
- from @hirael
Three-step 2FA enrollment card: scan a real otpauth QR or copy the key, confirm a six-digit code, then save recovery codes with copy, download and a checkbox-gated finish. Ships composable parts.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @hirael/two-factor-setup-01Registry dependencies8
- button
- checkbox
- copy-button
- field
- input-otp
- qr-code
- spinner
- use-controllable-state
