fndn/ui

Components

Pin Input

Beta

A one-time code or PIN typed one character per box.

Details

A one-time code or PIN typed one character per cell. Each cell is the Input made square (xs 24 · sm 28 · md 32 · lg 36px; 40px on touch), its character centred. Typing moves to the next cell, Backspace to the previous one, a pasted or suggested code fills every cell at once. Behaviour by Ark UI's pin-input (Zag). Controlled or uncontrolled.

Behaviour from Ark UI, the pin-input machine of Zag.