Input OTP
A row of glass cells for one-time codes. The focused cell gets an ember ring; filled cells settle into brighter glass.
Draw
draw a card
$npx shadcn@latest add @clow/input-otpFirst time? Point @clow at the registry
Once per project, add the registry to your components.json. Then draw any card by name.
"registries": {
"@clow": "https://clow.cards/r/{name}.json"
}Full setup →Playground
props
<InputOtp />Examples
basic
verify
Props
| prop | type | default |
|---|---|---|
| length | number | 6 |
| validationType | numeric | alpha | alphanumeric | none | numeric |
| mask | boolean | false |
| disabled | boolean | false |

