mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 04:09:12 +00:00
1.3 KiB
1.3 KiB
title, description, tags, layout, icon, component, elements, file
| title | description | tags | layout | icon | component | elements | file | ||
|---|---|---|---|---|---|---|---|---|---|
| Slider | Sliders allow the user to select a single value within a given range using a slider. | forms | element | slider | slider |
|
styles/native/slider.css |
<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>