Skip to main content Skip to navigation Skip to search

The HTML5 range input element is used when a user can choose between a min and a max value but the precise value chosen is not considered important.

Usage

The range input control allows the user to chose a value when they don’t care (or know) what the specific number value chosen is. This is an imprecise input control that should only be used when the exact value is not important for the user to know. Range controls work well when the users is more concerned with percent distance between the min and the max.

Code & Examples

The Range input uses standard HTML5 attributes and can be used with Clarity forms.

Basic

Full Example

Helper text

Disabled

Helper text

Value Changes

Applications may need to be aware of the current slider value. They can use the standard Angular (change) output to handle changes to the slider value.