Skip to content
Theme

Slider

A value in a range, or a range with two thumbs.

Examples

A value and a range
60
2,018–2,024

Props

Slider

A value in a range, set by dragging or with the arrow, Page and Home/End keys. Two values make a range.

PropTypeDefaultDescription
labelstring—

Also takes 87 props it passes to the underlying React Aria component or element (events, ARIA attributes, state such as isDisabled), documented by React Aria.

Keyboard

KeyDoes
ArrowLeft or ArrowRightSteps the value (mirrored in right-to-left text)
PageUp or PageDownSteps by a larger amount
Home or EndGoes to the minimum or maximum

Accessibility

  • Each thumb is a native range input, labelled and announced with its formatted value.