interface QSliderProps extends QSliderHTMLInputAttributes
centered?: boolean = falseclass?: HTMLAttributes<HTMLDivElement>["class"] = undefined
color?: string = primarydisabled?: boolean = falseexpressive?: boolean = undefinedicon?: MaterialSymbol | Snippet = undefined
label?: boolean = falselabelValue?: string | number = undefinedmarkers?: boolean | number = falsemax?: number = 100min?: number = 0readonly?: boolean = falsereverse?: boolean = falsesize?: QSliderSize = xs
step?: number = 1style?: HTMLAttributes<HTMLDivElement>["style"] = undefined
trackColor?: string = secondary-containervalue?: number = $bindable(0)
vertical?: boolean = falseinterface QRangeProps extends QSliderHTMLInputAttributes
class?: HTMLAttributes<HTMLDivElement>["class"] = undefined
color?: string = primarydisabled?: boolean = falseexpressive?: boolean = undefinedicon?: MaterialSymbol | Snippet = undefined
label?: boolean = falsemarkers?: boolean | number = falsemax?: number = 100maxAriaLabel?: string = undefinedmaxLabelValue?: string | number = undefinedmin?: number = 0minAriaLabel?: string = undefinedminLabelValue?: string | number = undefinedreadonly?: boolean = falsereverse?: boolean = falsesize?: QSliderSize = xs
step?: number = 1style?: HTMLAttributes<HTMLDivElement>["style"] = undefined
trackColor?: string = secondary-containervalue?: QRangeValue = $bindable([0, 100])
vertical?: boolean = falsevalue to read and update a number. The default range is 0–100; set min and max to change it.centered for adjustments around zero. Set step and markers for fixed stops, and labelValue to name them. These sliders
update the image as you drag.0 stops
Normal
QRange binds a lower and upper value as a tuple. Name each handle with minAriaLabel and maxAriaLabel; customize their indicators with minLabelValue and maxLabelValue. Here they format prices.xs require expressive; inset icons appear at md, lg and xl. Omit expressive to inherit the setting from Quaff.init().Value indicators appear while dragging or when the handle has keyboard focus.
step={0} allows continuous pointer input. Numeric markers set both the stop spacing and the snapping increment, overriding step. Binding updates while dragging; onchange records the committed value. readonly retains focus and prevents edits; disabled also removes keyboard access.
vertical with expressive and give the slider a height.for/id or aria-labelledby. labelValue supplies the visual indicator and accessible value text for named stops.