Two Factor 3 - Backup codes with download and copyPro
A recovery codes panel listing ten single-use backup codes in a monospace grid with copy, download as text and print actions, plus a used-code indicator and regenerate button. Use it right after enabling 2FA or from the security settings page.
About Two Factor 3
A recovery codes panel listing ten single-use backup codes in a monospace grid with copy, download as text and print actions, plus a used-code indicator and regenerate button. Use it right after enabling 2FA or from the security settings page.
Two Factor 3 is a pro two factor block for React, built on shadcn/ui and Tailwind CSS. It ships as 103 lines of TypeScript you own: every piece of copy is a prop with a sensible default, so you can drop it in and replace the content without touching the layout.
- two-factor
- backup codes
- recovery
- download
- copy
- security
Installation
- Add the Chocolate UI registry to your
components.json(see the installation guide). - Run the shadcn CLI:
npx shadcn@latest add @chocolate/two-factor-03Dependencies installed automatically: lucide-react.
Uses: button, reveal, use-copy, utils.
Usage
import TwoFactor03 from "@/components/blocks/two-factor-03"
export default function Page() {
return <TwoFactor03 />
}