About
A compact card for enabling SMS-based two-factor authentication by collecting a phone number to send verification codes to.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds SMS Code Two-Factor Setup to your project and fits it to your theme.
Code
How SMS Code Two-Factor Setup is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { TwoFactorSetup2 } from '@/components/ui/two-factor-setup-2'
export default function Default() {
return (
<div className="flex min-h-screen w-full items-center justify-center bg-background p-10">
<TwoFactorSetup2 />
</div>
)
}
















