Smooth UI/Interactive/One-Time Code

One-Time Code

TypeForms

6-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 Parameters
Digits Length6
Supported States:
EmptyTypingCompleteError

Component Props & API

Type-safe React 19 interface properties supported by One-Time Code.

Prop NameTypeDefaultDescription
lengthnumber6Number 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