min
number
Default: 0
A range slider with two thumbs that can't crossover. WARNING: Currently not keyboard focusable.
0
100
<RangeSliderReadExample />
2
8
<RangeSliderReadExamplemax={10}min={0}step={2}valueMax={8}valueMin={2}/>
Minimum
Maximum
<RangeSliderWriteExample exampleId="3" />
min
number
Default: 0
max
number
Default: 100
step
number
Default: 1
valueMin
number
Default: 0
valueMax
number
Default: 100
minOnChange
(min: number) => void
maxOnChange
(min: number) => void
as
"div"
theme
Theme
atoms
Applies permitted design system styles. See styling documentation for more.
loading
"eager" | "lazy"
Not included in `AllHTMLAttributes` yet so sourced from https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img
decoding
"auto" | "sync" | "async"
Not included in `AllHTMLAttributes` yet so sourced from https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img
inputRef
Ref<HTMLElement>
Has to not be called ref - done because we also want to use a generic see https://gist.github.com/gaearon/1a018a023347fe1c2476073330cc5509