Input OTP
Campo de código OTP com foco automático entre dígitos.
Preview
Variantes e composição
| Prop / grupo | Valores |
|---|---|
composição | InputOTP · InputOTPGroup · InputOTPSlot · InputOTPSeparator |
props | value · defaultValue · onValueChange · name (input oculto) · form · id · invalid · required · maxLength · disabled · labels (group · slot(index, total)) |
removidas na 4.0 | onChange(value) → use onValueChange |