OTP input
CoreBlockA six digit verification flow with paste support and keyboard navigation.
pnpm dlx shadcn@latest add https://wui.alann.works/r/otp-input.jsonAPI Reference
| Prop | Type | Default |
|---|---|---|
length | number | — |
value | string | — |
onChange | (value: string) => void | — |
label* | string | required |
description | string | — |
error | string | — |
autoFocus | boolean | — |
disabled | boolean | — |
inputMode | "numeric" | "text" | — |
className | string | — |