Slider

A single handle slider based on react-component-slider

<Slider
  min={0}
  max={100}
  defaultValue={8}
/>

Props

PropTypeDescription
minnumberThe minimum value of the slider
maxnumberThe maximum value of the slider
defaultValuenumberSet initial value of slider
valuenumberSet current value of slider
onChangefunctiontriggered when value changes
ariaLabelForHandlestringSet aria-label for handle
ariaLabelledByForHandlestringSet aria-labelledby for handle
ariaValueTextFormatterForHandlefunctionPass a function to handle to calculate aria-valuetext from value

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