Skip to content
Design System
GitHub

Number field

v0.17.2Beta

A number with a range, a step and a unit. Type freely, kept in range on blur; 44 px buttons; arrow keys, Shift, PageUp/PageDown, Home/End.

Roles

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

  • spinbutton

Keyboard

KeysAction
↑↓Step up or down
Shift+↑Shift+↓Step by the large step
PageUpPageDownStep by the large step
HomeEndGo to the minimum or maximum
EnterKeep the typed value (kept in range)

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.