You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thumbs can no longer swap positions/be dragged past each other, the related disableSwap prop has been dropped
A new Control subcomponent is added to represent the click/touch area of the slider. Previously this component's functionality was implemented in the root, but it was introduced because Slider.Root in the new API is expected to contain the Output element and a label as well.
The Rail component which referred to the visible bar along which the thumb can move is now renamed to be the Track
The component representing the filled portion of the slider track is is renamed from Track to Indicator
Thumb's internal input element is no longer exposed (it used to be via slots.input)
The Mark component/slot, and the marks prop have been dropped
The step prop defaults to 1 and can no longer be null.
The ValueLabel slot/component and related features have been dropped. This design can be implemented using Tooltip as in this demo
The isRtl prop is replaced with direction: 'ltr' | 'rtl' for consistency
A new minStepsBetweenValues prop (default 0) is added to prevent thumb overlap
The scale prop is deprecated
Related issues
Each of these related issues should be considered when designing and implementing this new component. When this issue is resolved, these related issues should be closed.
ARIA Pattern.
Breaking Changes
disableSwapprop has been droppedControlsubcomponent is added to represent the click/touch area of the slider. Previously this component's functionality was implemented in the root, but it was introduced becauseSlider.Rootin the new API is expected to contain theOutputelement and a label as well.Railcomponent which referred to the visible bar along which the thumb can move is now renamed to be theTrackTracktoIndicatorThumb's internalinputelement is no longer exposed (it used to be viaslots.input)Markcomponent/slot, and themarksprop have been droppedstepprop defaults to1and can no longer benull.ValueLabelslot/component and related features have been dropped. This design can be implemented usingTooltipas in this demoisRtlprop is replaced withdirection: 'ltr' | 'rtl'for consistencyminStepsBetweenValuesprop (default0) is added to prevent thumb overlapscaleprop is deprecatedRelated issues
Each of these related issues should be considered when designing and implementing this new component. When this issue is resolved, these related issues should be closed.
track="inverted"does not work #48Search keywords: