Are you an LLM? You can read better optimized documentation at /docs/components/slider/overview.md for this page in Markdown format
Slider - Overview
Sliders are best suited for cases where people need to quickly set a value within a designated range. They offer an intuitive way to adjust settings like volume, price filters, or relative distances.
See also Range slider.
AndroidreleasedElementsreleasediOSreleasedReactreleasedReact 19releasedVuereleased
Example
Overview
A slider provides a visual indication of an adjustable value within a defined range (minimum and maximum values) by moving a handle along a horizontal track.
Sliders are available in two different variants:
- Single (documented here)
- Range slider
Anatomy
- Label (optional): Describes what the slider controls or adjusts.
- Filled/active track: Visualises the selected portion of the slider range up to the selected value.
- Tooltip: Displays the current value while dragging the handle, providing immediate feedback.
- Track: Represents the full range of available selectable values.
- Handle: Movable indicator used to select a value along the track.
- Minimum range label (optional): Indicates the lowest selectable value and visually defines the start of the range.
- Maximum range label (optional): Indicates the highest selectable value and visually defines the end of the range.
- Value input/text field (optional): Displays the current selected value by the handle and allows manual entry.
- Input suffix (optional): Provides contextual clarification for values when their meaning is ambiguous, such as currency or measurement units.
Are you an LLM? You can read better optimized documentation at /docs/.vitepress/ComponentQuestions.md for this page in Markdown format
Questions?
Feel free to ask any questions on usage in the Warp DS Slack channel: #warp-design-system