Skip to content

Slider

A Slider provides a visual indication of adjustable content, where the user can increase or decrease the value by moving the slider thumb along a horizontal track.

Usage

Slider

Sliders allow users to view and select a value from the range along a horizontal track. They’re ideal for adjusting settings such as volume and brightness where accuracy is not of highest importance.

The buttons can be used to make small adjustments in either direction, while the slider thumb can be used for larger adjustments.

Changes made with sliders take effect immediately, allowing users to make slider adjustments with direct feedback.

When to use

  • Use it for making selections from a range of values.
  • Use it when the range is more important than precision.

When to consider something else

  • Use a regular value input, if a user needs to enter a precise number.
  • Sliders shouldn’t be used to adjust settings with any delay in providing user feedback.

Except where otherwise noted, content on this site is licensed under MIT License.