Examples

Default

With unit

With unit and thresholds

To enable a user entered value to snap to the nearest threshold if the entered input is out of bounds, define the blur event handler.

Disabled

With status

Varying sizes

Custom increment/decrement

Custom increment/decrement and thresholds

CSS variables