Interface

RangeScrollbarRootProps

Props for the controlled range scrollbar root.

Signature

Type Definition
Interface RangeScrollbarRootProps

Properties

NameSignatureDescription
childrenchildren: ReactNodeThumb and handle components rendered within the measured track.
disabled?disabled?: booleanDisables pointer and keyboard interactions while keeping parts rendered.
getAriaValueText?(value: number, details: RangeScrollbarAriaValueTextDetails): stringFormats `aria-valuetext` for the thumb and handles.
keyboardPageStep?keyboardPageStep?: numberDomain-unit nudge used by page-key interactions. Defaults to 10.
keyboardStep?keyboardStep?: numberDomain-unit nudge used by arrow-key interactions. Defaults to 1.
maxmax: numberMaximum value in the full scrollable domain.
minmin: numberMinimum value in the full scrollable domain.
minSpan?minSpan?: numberSmallest allowed visible range span. Defaults to 0.
onValueChange?(value: RangeScrollbarValue, details: RangeScrollbarValueChangeDetails): voidCalled when range scrollbar interactions request a new controlled range.
orientation?orientation?: RangeScrollbarOrientationVisual and interaction axis. Defaults to `'horizontal'`.
valuevalue: RangeScrollbarValueControlled visible range.