RangeSlider

A single or multi-value range input based on react-component-slider

<RangeSlider
  min={0}
  max={100}
  defaultValue={[8, 64]}
/>

Props

PropTypeDescription
minnumberThe minimum value of the slider
maxnumberThe maximum value of the slider
defaultValuearraySet initial value of slider
valuearraySet current value of slider
onChangefunctiontriggered when value changes
ariaLabelGroupForHandlesarray (strings)Set aria-label for each handle
ariaLabelledByGroupForHandlesarray (strings)Set aria-labelledby for each handle
ariaValueTextFormattersForHandlesarray (functions)Pass a function to each handle to calculate aria-valuetext from value

For more props, see the react-component-slider docs