build69
build69  /  Components  /  Auth  /  OtpVerify

OtpVerify

v1.0.19Updated 19 Oct 2026

One-time-code verification page for email / SMS / authenticator 2FA flows. Full-page copy-paste template; baked-in demo content (a few optional display props such as last4).

Preview

Live · 14 stories
CenteredOpen ↗
▸Why this is recommendedotp2faverifycode+4

OtpVerify centred on the page.

Recommended for+14
  • ✓Auth flows
  • ✓2FA / MFA verification
Tags+6
otp2faverifycodemfaauthpagecentered
Features+4
  • i18n: a labels prop overrides every built-in string; English defaults, brand-free copy
  • Centered, email, authenticator and split layouts
  • Segmented OTP input + resend timer
  • Optional last4 display prop
Not recommended for−2
  • ✕Inline confirmations

Install

Ask your agent, or call the MCP tool directly. The resolved bundle is written into your project.

get_registry_item({ name: "OtpVerify" })

Usage

import { OtpVerifyCentered } from '@/components/pages/otp-verify';

<OtpVerifyCentered last4="1234" />

Tick variants in the left menu — each adds a tab with that variant’s real story source, the same code the preview above renders.

Props

PropTypeRequired
last4

Last 4 digits of the destination (where applicable)

string—
className

Optional wrapper class override

string—
labels

Override every built-in string and aria-label (i18n). Merged over DEFAULT_OTP_VERIFY_LABELS (68 English keys); every template in the file accepts it. The rendered DEFAULTS are English — page templates used to hardcode their copy, which no consumer could translate or ship. MCP feedback fb_ba2ec12f.

Partial<OtpVerifyLabels>—

Related