UnreviewedAny data-* attribute is forwarded to the rendered element.
Any aria-* attribute is forwarded to the rendered element.
Optional UnreviewedlabelVisible field label, shown above the rail. A string supplies the slider's
accessible name; give a rich label an explicit aria-label.
Optional UnreviewedvalueControlled value. A pair of numbers selects a range. Update it from onValueChange.
Optional UnrevieweddefaultInitial uncontrolled value.
Optional UnreviewedminLowest permitted value.
Optional UnreviewedmaxHighest permitted value.
Optional UnreviewedstepSmallest keyboard and drag increment.
Optional UnreviewednameForm field name. A range submits two values under this name.
Optional UnrevieweddisabledDisables pointer and keyboard interaction.
Optional UnreviewedtoneColor of the filled rail. Pass a named tone or a literal CSS color for a one-off custom tone. The unfilled rail stays neutral.
Optional UnreviewedthumbColor of the thumb stroke. Pass a named tone or a literal CSS color for a one-off custom tone. Omit it to keep the thumb neutral.
Optional UnreviewedsizeSize variant. small=24px, medium=28px, large=32px tall.
Optional UnreviewedtrackThickness of both rail segments. Numbers use pixels; strings are CSS lengths. Keep it no larger than the thumb diameter.
Optional UnreviewedthumbDiameter of the thumb. Numbers use pixels; strings are CSS lengths. Keep
it at least as large as trackSize.
Optional UnreviewedthumbFill the thumb with its resolved border color. This follows thumbTone
and interactive states.
Optional UnreviewedroundFully round the rail and thumb. Pass a number (px) or CSS length string for a shared custom radius.
Optional UnreviewedvalueWhere the live value appears. end puts it at the right edge of the label
row. inline renders Label: value. thumb keeps it above the thumb.
Optional UnreviewedvalueText inserted before the live numeric value, such as $.
Optional UnreviewedvalueText inserted after the live numeric value, such as % or °C.
Optional UnreviewedmarkersCompact text labels positioned below the rail. They do not add dots or ticks to the rail.
Optional UnreviewedtrackControls what happens when the rail is pressed. drag-only starts dragging
from the current value. jump first moves to the pressed position.
Optional UnreviewedinvertedFill the rail outside the selected value or range.
Optional UnreviewedonFires on every keyboard or pointer value change.
Optional UnreviewedonFires after a drag ends and after each keyboard value change.
Optional UnreviewedclassCSS class on the component's root element (merged with the component's own
classes). Use it directly for layout and positioning — grid/flex placement,
margins, alignment — rather than wrapping the component in a <div>/<span>.
Optional UnreviewedstyleInline styles on the component's root element. Set layout/positioning here
(or via className) directly on the component instead of adding a wrapper.
Optional UnreviewedchildrenChild elements. When provided, replaces the component's default label/content.
Optional UnreviewedidHTML id attribute.
Optional UnreviewedtitleHTML title attribute — native browser tooltip on hover.
Optional UnreviewedslotAssigns the element to a named <slot> of a parent web component (e.g.
slot="header" inside a <Card>, slot="footer" inside a <Dialog>).
Optional UnreviewedtabTab order. Set to -1 to skip the element when tabbing.
Optional UnreviewedkeyReact/Preact reconciliation key when rendered inside a list. Consumed by the JSX runtime (not forwarded as a DOM attribute).
OptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalon
Common props for JSX component wrappers.