- Android
- iOS
- Web
OTP Input
Collect a short verification code.
Engine API NInputOtpnayan-ui/components
Example.tsx
| Name | Type | Default | Details |
|---|---|---|---|
| maxLength | number | Optional | |
| value | string | Optional | |
| defaultValue | string | Optional | |
| onChange | ((value: string) => void) | Optional | |
| disabled | boolean | Optional | |
| pattern | string | Optional | |
| separatorIndices | readonly number[] | Optional | Zero-based slot indices after which to draw a separator. |
| className | string | Optional | Supported Tailwind-style utilities, resolved entirely in Rust. See the engine README. |
| accessibilityLabel | string | Optional |