- Docs
- Components
- Forms
OTP input
A one-time code in slots. Paste fills them all; the phone's SMS autofill lands in one go.
- Import
- @qeetrix/react/experimental
- Status
- ExperimentalSince 0.0.4
- Renders
<input> per slotServer-rendered- Tested
- WCAG 2.2 AAaxe on every pull request
01
0.4.0
- The focused slot of an invalid code shows the Ember focus frame; the other slots keep the danger frame.
- A read-only code looks read-only, as a read-only Input: no fill, no hover tint, a border.strong line and a default cursor.
02
0.1.0
- Its name reaches every slot.
- The slots shrink to fit narrow columns.
03
0.0.3
- OTPInput: one-time codes in slots on Base UI's OTP Field: typing moves on, paste fills every slot, SMS autofill lands at once; numeric by default; groups; md and lg; "Character 2 of 6".
Every change to @qeetrix/react
Next — FormsFile upload