Clow

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-otp
First 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

proptypedefault
lengthnumber6
validationTypenumeric | alpha | alphanumeric | nonenumeric
maskbooleanfalse
disabledbooleanfalse