One cell per character of a one-time code
Typing fills a cell and moves focus to the next one. Backspace clears and retreats, the arrow keys move between cells, and pasting a full code distributes it across the cells from the start. When every cell is filled, onComplete fires once with the whole code.
Default
Enter the 6-digit code we sent you
Length
The length prop sets the cell count. Six is the default; four suits short PINs.
Masked
With mask set, each cell renders as a password field, so entered characters stay hidden.
Formats
The numeric format rejects anything that is not a digit and raises the numeric keyboard on touch devices. The alphanumeric format accepts letters and digits, for invite and recovery codes.
States
That code has expired. Request a new one.