Verification code
Slant / Controls
Six single-digit inputs that behave as one field: typing advances, Backspace steps back, paste fills them all.
The theme follows the link: share a page with ?theme=moon.
Usage
- A
groupof six inputs, each labelled with its position. - Submit becomes available once every box has a digit.
Keyboard
| Digits | fill a box and move to the next |
| Backspace | clears the box and moves back |
| Paste | spreads a pasted code across the boxes |
Accessibility
- A live region announces completion and errors.
Verification code in React and SwiftUI.
The React tab is the component’s real source; the SwiftUI tab is its twin in TUTTNKit.