3.0.0-alpha.7 Alpha
Default Default Classic Light Dark Light Dark System
Search /
Default Default Classic Light Dark Light Dark System
Native Styles

Slider

Sliders allow the user to select a single value within a given range using a slider.

Want to do more? Check out the <wa-range> component!
<label>Select a value: <input type="range"></label>

Min, Max, and Step

Use the min and max attributes to set the range's minimum and maximum values, respectively. The step attribute determines the value's interval when increasing and decreasing.

<input type="range" min="0" max="10" step="1">

Disabled

Use the disabled attribute to disable a slider.

<input type="range" disabled>
    No results