Skip to main content

Slider

Demo

zeta-web v0.6.6
Web Components

Sliders allow users to make selections from a range of values.

Storybook

https://design.zebra.com/web/storybook/index.html?path=/docs/components-slider--docs

Attributes

NameDescriptionTypeDefault
disabledDisables the slider.boolean | undefinedundefined
stepIncrementIf set, will put steps on the slider at the given increments and the slider will snap to the nearest step.number | undefinedundefined
typeThe type of the slider. Can either be 'default' or 'range'."default" | "range""default"
valueThe value of the slider.Will have no effect if type is not 'default'.number50
lowerValueThe initial value of the lower end of the slider.Will have no effect if type is not 'ranged'.number10
upperValueThe initial value of the maximum end of the slider.Will have no effect if type is not 'ranged'.number90
minThe minimum value of the slider.number0
maxThe maximum value of the slider.number100

Inherited Attributes

NameDescriptionTypeDefaultInherited From
roundedWhether the component is rounded or sharp.When true, rounded will set the border radius of the first child, and any children with class 'contourable-target' to --radius-minimal.Otherwise, this value will be --radius-none.boolean | undefinedtrueContourable

Figma

https://www.figma.com/design/JesXQFLaPJLc1BdBM4sisI/%F0%9F%A6%93-ZDS---Components?node-id=875-15530