Back to Catalog

OTP Input

free

Auto-advancing verification code boxes with spring pop feedback, paste support, and verified state.

#otp#auth#input#verification

Two-Factor Verification

Enter the 6-digit code

Supports paste & arrow keys
CLI Installation
pnpm dlx shadcn@latest add https://ui.ibidi.dev/r/otp-input.json

Props

PropTypeDefaultDescription
lengthnumber6Number of digit boxes.
onComplete(code: string) => void—Fired when all digits are entered.