Input OTP
A one-time password input with individual character slots.
Usage
Digits Only
Use the pattern prop to restrict input to digits only.
Sub-components
InputOTPGroup
Visual grouping of slots
InputOTPSlot
Individual character slot
| Prop | Type | Default | Description |
|---|---|---|---|
index* | number | - | Slot position (0-based) |
InputOTPSeparator
Dash separator between groups