Optional
disabledDisables the slider.
The initial value of the lower end of the slider.
Will have no effect if type is not 'ranged'.
The maximum value of the slider.
The minimum value of the slider.
Optional
stepIf set, will put steps on the slider at the given increments and the slider will snap to the nearest step.
The type of the slider. Can either be 'default' or 'range'.
The initial value of the maximum end of the slider.
Will have no effect if type is not 'ranged'.
The value of the slider.
Will have no effect if type is not 'default'.
Static
styles
Sliders allow users to make selections from a range of values.
ZetaSliderEvent:zeta-slider-change - Fired whenever value of slider is changed. Contains a single entry in details:
value:number
. ZetaRangeSliderEvent:zeta-range-slider-change - Fired whenever value of range slider is changed. Contains 2 values in details:min:number
,max:number
.Figma
https://www.figma.com/design/JesXQFLaPJLc1BdBM4sisI/🦓-ZDS---Components?node-id=875-11860&node-type=canvas&m=dev
Storybook
https://zeta-ds.web.app/web/storybook/index.html?path=/docs/slider--docs