Sizes

Press and hold a button to repeat; it speeds up. In the field: arrows, Shift+arrow or Page Up and Down for ten, Home and End for the bounds.

Min and max

Buttons disable at the bounds. Typed values clamp when you leave the field.

Between 1 and 10

Step

A step of 0.5, and a step of 25 with Page Up and Down moving 250.

Format options

Intl.NumberFormat both ways: typed text is parsed back, so '1,250' and '$1,250.50' both work.

Label and description

Units per colorway

Optional

Custom icons

Custom buttons

Compose the parts, and swap the buttons with `render`.

Steps of five

Reversed layout

Increase on the inline start, decrease on the end.

Controlled

Value: 3

Disabled and read only

Guest picker

Three steppers in a sample list. Infants are capped by the adult count.

AdultsAges 13 or above
ChildrenAges 2 to 12
InfantsUnder 2

3 guests (sample)