| name | string | undefined | — | Name used by the control's form submission or primitive form integration. |
|---|
| disabled | boolean | undefined | — | Make the supported control unavailable through its native or primitive disabled semantics. This does not disable arbitrary child links. |
|---|
| orientation | ("horizontal" | "vertical") | undefined | — | Horizontal or vertical layout/navigation axis as defined by this primitive. |
|---|
| dir | ("ltr" | "rtl") | undefined | — | Reading direction used by the primitive. Keep it consistent with the surrounding content and Direction provider. |
|---|
| min | number | undefined | 0 | Minimum supported numeric value. |
|---|
| max | number | undefined | 100 | Maximum supported numeric value. |
|---|
| step | number | undefined | — | Numeric increment used for slider or native input changes. |
|---|
| minStepsBetweenThumbs | number | undefined | — | Minimum separation between slider thumbs, measured in step increments. |
|---|
| value | number[] | undefined | — | Current value in the shape defined by the source type. For controlled interactive inputs, apply updates from the change callback. |
|---|
| defaultValue | number[] | undefined | — | Initial value for a control supporting uncontrolled state. Inherited DOM typing alone does not give a layout wrapper input behavior. |
|---|
| onValueChange | ((value: number[]) => void) | undefined | — | Receive the next value in the source-defined shape. A controlled parent must apply it to value. |
|---|
| onValueCommit | ((value: number[]) => void) | undefined | — | Receive a committed slider value after interaction, separately from intermediate onValueChange updates. |
|---|
| inverted | boolean | undefined | — | Invert the slider's value direction while preserving its orientation and reading-direction semantics. |
|---|
| form | string | undefined | — | ID of the form associated with this control, including when it is rendered outside that form element. |
|---|
| className | string | undefined | — | Additional classes for this part. Preserve contrast, visible focus and responsive content when adapting styles. |
|---|
| defaultChecked | boolean | undefined | — | Initial checked state for a control supporting uncontrolled selection. Inherited DOM typing does not give a layout wrapper checkbox behavior. |
|---|
| autoFocus | boolean | undefined | — | Request automatic focus when the element mounts or the primitive opens, according to its source behavior. Choose initial focus deliberately in context. |
|---|
| id | string | undefined | — | Stable DOM identifier used by labels, descriptions or other explicit associations. |
|---|
| role | React.AriaRole | undefined | — | Semantic role appropriate to the rendered element. Preserve required relationships and keyboard behavior. |
|---|
| onFocus | React.FocusEventHandler<HTMLSpanElement> | undefined | — | Receive the native focus event. Preserve the component's existing keyboard and focus behavior. |
|---|
| onBlur | React.FocusEventHandler<HTMLSpanElement> | undefined | — | Receive the native blur event when focus leaves this control. |
|---|
| onChange | React.ChangeEventHandler<HTMLSpanElement, Element> | undefined | — | Receive the native change event; read the actual control value or checked state from its event target. |
|---|
| onKeyDown | React.KeyboardEventHandler<HTMLSpanElement> | undefined | — | Receive keyboard events. Preserve built-in keyboard behavior unless deliberately implementing an accessible alternative. |
|---|
| onClick | React.MouseEventHandler<HTMLSpanElement> | undefined | — | Receive activation events. The consumer owns the action performed and its result. |
|---|
| onSelect | React.ReactEventHandler<HTMLSpanElement> | undefined | — | Handle the selection event defined by this part's source signature. DOM text-selection events differ from menu or command activation callbacks. |
|---|
| asChild | boolean | undefined | — | Merge this part into one child instead of its default element. Preserve that child's semantics, ref support and accessibility attributes. |
|---|
| ref | React.Ref<HTMLSpanElement> | undefined | — | Allows getting a ref to the component instance.
Once the component unmounts, React will set ref.current to null
(or call the ref with null if you passed a callback ref). |
|---|