Skip to content
Design System
GitHub

Input OTP

v0.15.0Beta

A one-time code or PIN, one 44 px box per character, with paste and SMS autofill.

Roles

What a screen reader is told each part is, measured in the examples on the Overview tab.

  • separator

    Keyboard

    KeysAction
    TypeFill the next box
    BackspaceClear the previous box
    Arrow LeftRightMove between boxes

    Colour contrast

    Computed from the shipped theme for the colours this component uses, on page and card backgrounds; the lower of the two is shown. WCAG 2.2 AA.