Comment on page
Select a single value or specify a range by choosing values for both its ends.
The Slider component is a user-friendly way to select a value from a range. It consists of a track with a handle that can be moved along the track to select a value. The Slider component is commonly used for tasks such as adjusting the volume of a media player or setting a number within a specific range.
Here are some of the key features of the Slider component:
- Allows users to select a value from a range
- Commonly used for tasks such as adjusting the volume of a media player or selecting a number within a specific range
Here are the main properties you can configure on the Slider element
A slider can contain multiple values and specify a range between two or more numbers.
The Type attribute will determine the orientation of the slider. The Slider type can be
By default, the increment value of the slider is set to 1 but you can customize the increment value of the slider by adding an incrementing number to the
Min and Max values can be specified to customize the range of your slider.
By default, the slider's unit is set to
decimal. But the unit can be customized to
To show a pin when the slider is moving.
when there is steps
Here are the available interactions for the Slider component:
Change: The event fired when the slider value changed.
From the Styles panel, you can customize styling attributes for the Slider component:
Label: to customize the label that is displayed on top of the slider.
Unit: to customize the unit label.
Track: to customize the track styling.
Pin: to customize the style of the Pin if enabled in the
Thumb: to customize the style of the slider thumb.
Last modified 2mo ago