Slider

A slider component is a user interface element that allows users to select a value within a range by moving a slider thumb along a track.

Use cases:

✅ Adjusting settings: A slider can be used to adjust various settings such as volume, brightness, or font size.

✅ Filtering data: A slider can be used to filter data by a specific range of values, such as price or date.

✅ Selecting a value: A slider can be used to select a specific value within a range, such as a number between 1 and 10.

✅ Rating system: A slider can be used as a rating system, where users can rate a product or service on a scale of 1 to 5.

Not to use cases:

❌ Selecting discrete values: If you need users to select from a specific set of values, such as a list of options or a dropdown menu, a slider may not be the best choice.

❌ Limited screen space: If you have limited screen space, a slider may not be the best choice as it requires a larger UI element to display.

❌ Precision input: If you require users to enter an exact value, such as for numerical input, a slider may not be the best choice as it can be difficult to select an exact value with precision using a slider.

Last updated