OTP Input
freeAuto-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.jsonProps
| Prop | Type | Default | Description |
|---|---|---|---|
| length | number | 6 | Number of digit boxes. |
| onComplete | (code: string) => void | — | Fired when all digits are entered. |