componentsSource CodeRadix UI
OTP Field
A group of single-character text inputs to handle one-time password verification
Installation
Usage
Imports
/components/ui/otp-field.tsx
Code
/components/ui/otp-field.tsx
Examples
Size
Type - Password
Validation Type
Disabled
Form
Auto Submit Form
Props
<OTPField>
| Name | Default | Values |
|---|---|---|
| size | 40 | 283236404456 |
| External Reference | - | - |
<OTPInput>
| Name | Default | Values |
|---|---|---|
| External Reference | - | - |
<OTPHiddenInput>
| Name | Default | Values |
|---|---|---|
| External Reference | - | - |