Two Factor Verify

Two-factor verification screen with a one-time password input and a full-width Verify button inside an auth card. Use it as the second step after sign in.

src/registry/ui/two-factor-verify.tsx/r/two-factor-verify.json

Installation#

bash
npx shadcn@latest add @minidev/two-factor-verify

MiniDev UI is in the shadcn registry directory, so the short form works with no setup. Older CLI versions can use the full URL: npx shadcn@latest add https://ui.minidev.pro/r/two-factor-verify.json

Usage#

tsx
import { TwoFactorVerify } from "@/components/ui/two-factor-verify"

export function Example() {
  return <TwoFactorVerify />
}

API reference#

TwoFactorVerify takes no props. It ships with realistic sample content: install it, then edit the copy and data in the file directly. The file is yours.

Dependencies#

npm

React only
All login and signup components

Learn more