This is slider with two handles to select a range. To use it, set defaultValue (for an uncontrolled slider) or value (for a controlled one) for the array.
This Slider state is for incorrect user input. To change the Slider appearance, use the validationState property with the "invalid" value. Optionally, you can provide an error message through the errorMessage property. This message text will be rendered under the slider.
The min and max properties define the limits of the range the Slider can handle. These properties are essential for setting the boundaries of the selectable values.
The step property determines the increments within the minimum and maximum value range. This means how much the value changes with a single slider move.
The marks property is utilized in Slider component to specify visual markers along the slider that help to indicate various points between the minimum and maximum value. This property enhances the usability and visual interface of the slider, especially for denoting specific intervals. By default it is 2 (min and max values). You can use it in 2 different ways:
You can set step property to null to define a set of specific values that the slider can handle, as opposed to a continuous range. This is particularly useful when only certain discrete values are valid for selection. In that case properties min, max and marks allows specifying an array of numbers representing the exact values that users are allowed to select using the Slider.
The startPoint property allows you to set the start point of the track. It uses the minimal Slider value by default. It will be ignored if you use Slider with range values or if you set inverted property.
The inverted property allows you to set the inverted view of the Slider's track.
By default (of false) Slider shows interval from min to handle.
If true then it indicates interval from pin to max.
Only for single Slider. Property startPoint will be ignored.
The tooltipDisplay property is used in Slider component to control the display behaviour of a tooltip that shows the current value as the user interacts with the slider. auto value shows tooltip only when Slider's handle are hovered by cursor or focused.
You are able to change display format of tooltip value by using tooltipFormat property. If you don't specify tooltipformat then will be used marksFormat to display the value in tooltip.
Text marks under the slider. Could be set to the amount of the slider's marks, or could be set to the array of values which should have marks. 0 or empty array value hides all marks.