Passkey & OTP
Second-step verification: code entry, authenticator, passkey, backup codes and trusted devices.
npx wunderui-cli add auth/passkey-otpSix boxes that move on and check themselves, with resend and other methods.
Components used
13 components from the library, across all 5 variants.
Notes for AI
What a coding assistant needs to adapt this block.
npx wunderui-cli add auth/passkey-otpNeeds a WunderUI Pro license.
01-code.tsxEnter code#code02-authenticator.tsxAuthenticator app#authenticator03-passkey.tsxPasskey#passkey04-backup-codes.tsxBackup codes#backup-codes05-trust-device.tsxTrust this browser#trust-device
One file per variant, each a whole page. Pick the variant closest to the screen you need and keep its components.
_data.ts, _parts.tsx in pro/blocks/auth/verify hold the sample data and parts the variants share. The sidebar and top bar come from BlockFrame with accent="indigo"; the accent marks the active navigation, chart series 1 and selected states.