OTP Input
OTPInput renders `length` single-digit boxes used for entering MFA codes (TOTP, email OTP, SMS OTP).
Usage
Import
import { OTPInput } from "@qeetrix/ui";It can also be imported on its own from @qeetrix/ui/components/otp-input.
States
hover · focus-visible · disabled · read-only · invalid · required
Support
| Feature | Status |
|---|---|
| Right-to-left | Not applicable |
| Dark mode | Supported |
| Density | Supported |
| Server rendering | Client component |
| Reduced motion | Supported |
Accessibility
No ARIA widget pattern. Not yet audited.
Keyboard
Tab Backspace ArrowLeft ArrowRight Home EndFocus
Each control is a Tab stop, in order.
Tests
Covered by unit, accessibility (axe), interaction and visual tests.