The number field is a text input that holds a number. It shows the number formatted for the locale, reads typed text back in the same format, and on blur snaps it to step between min and max.

It reads native digits and separators too: Arabic-Indic, Persian and Devanagari numbers, spaces and dots as group separators, and every minus sign. Holding a step button repeats, faster and faster.

Steppers

Buttons on each side, turned off at min and max. The arrow keys step too.

A table for 2. Hold a button to count faster.

Currency and percent

Pass Intl.NumberFormat options to format and a locale. The value stays a plain number.

Value: 1234.5 · 0.15