One-Time Code
TypeForms6-digit OTP verification inputs with automatic focus hopping, backspace handling, clipboard paste, and numeric check.
Interactive Live Stage
Enter 6-digit OTP
Instruction:Full multi-touch gesture support with touch-action isolation
⚙ Controls & Tuning
1 ParametersDigits Length6
Supported States:
EmptyTypingCompleteError
Component Props & API
Type-safe React 19 interface properties supported by One-Time Code.
| Prop Name | Type | Default | Description |
|---|---|---|---|
| length | number | 6 | Number of OTP digit boxes |
⌨ Keyboard Support
Standard text input; Tab to navigate; Escape to blur
📱 Touch & Gestures
Full multi-touch gesture support with touch-action isolation
⚡ Reduced Motion
Falls back to instant CSS transitions with zero continuous physics loops
Related Primitives
Explore complementary tactile interactions in the Forms category.