Value Slider Stable New in 3.2 Dark Theme
A Value Slider allows users to view and select from a range of value along a slidable bar.
<uimc-value-slider
>
</uimc-value-slider>
Attribute | Description | Values | Default |
---|---|---|---|
input-field | Adds text inputs for typing specific values | – | – |
thumb-icon | Adds icon into range thumb. | – | – |
min-value | Sets min-value for slider. | Number | 0 |
max-value | Sets max-value for slider. | Number | 100 |
value | Sets initial start value. | Number | – |
second-value | Sets second initial end value in case of type: double-slider | Number | – |
type | Type of the slider. | progress , progress-double | – |
steps | Adds steps for step-slider | Number | – |
scale | Adds visual scale according to steps value | – | – |
label | Adds label on top of slider | String | – |
theme | Sets theme of the slider | light , gray , dark | light |
Default Value Slider
<uimc-value-slider
max-value="100"
value="50"
label="Default"
>
</uimc-value-slider>
With progress indication
<uimc-value-slider
max-value="100"
value="50"
type="progress"
label="Progress"
>
</uimc-value-slider>
With double handles to select a range
<uimc-value-slider
max-value="100"
value="10"
second-value="50"
type="progress-double"
label="Progress Double"
>
</uimc-value-slider>
With icon handles
<uimc-value-slider
max-value="100"
value="10"
second-value="50"
type="progress-double"
label="With Icon"
>
</uimc-value-slider>
With steps scale
<uimc-value-slider
max-value="100"
value="50"
steps="10"
scale
label="Scale"
>
</uimc-value-slider>
With steps scale and double handles
<uimc-value-slider
max-value="100"
value="10"
second-value="50"
type="progress-double"
steps="10"
scale
label="Progress Double"
>
</uimc-value-slider>
With steps but no visible scale
<uimc-value-slider
max-value="100"
value="50"
steps="10"
label="Step Slider"
>
</uimc-value-slider>
With number inputs
<uimc-value-slider
input-field
max-value="100"
value="10"
second-value="50"
type="progress-double"
label="Input Fields"
>
</uimc-value-slider>
Value Slider variants on gray background
Default Value Slider
<uimc-value-slider
max-value="100"
value="50"
label="Default"
theme="gray"
>
</uimc-value-slider>
With progress indication
<uimc-value-slider
max-value="100"
value="50"
type="progress"
label="Progress"
theme="gray"
>
</uimc-value-slider>
With double handles to select a range
<uimc-value-slider
max-value="100"
value="10"
second-value="50"
type="progress-double"
label="Progress Double"
theme="gray"
>
</uimc-value-slider>
With icon handles
<uimc-value-slider
max-value="100"
value="10"
second-value="50"
type="progress-double"
label="With Icon"
theme="gray"
>
</uimc-value-slider>
With steps scale
<uimc-value-slider
max-value="100"
value="10"
steps="10"
scale
label="Scale"
theme="gray"
>
</uimc-value-slider>
With steps scale and double handles
<uimc-value-slider
max-value="100"
value="10"
second-value="50"
type="progress-double"
steps="10"
scale
label="Progress Double"
theme="gray"
>
</uimc-value-slider>
With steps but no visible scale
<uimc-value-slider
max-value="100"
value="10"
steps="10"
label="Step Slider"
theme="gray"
>
</uimc-value-slider>
With number inputs
<uimc-value-slider
input-field
max-value="100"
value="10"
second-value="50"
type="progress-double"
label="Input Fields"
theme="gray"
>
</uimc-value-slider>
Value Slider variants on dark background
Default Value Slider
<uimc-value-slider
max-value="100"
value="50"
label="Default"
theme="dark"
>
</uimc-value-slider>
With progress indication
<uimc-value-slider
max-value="100"
value="50"
type="progress"
label="Progress"
theme="dark"
>
</uimc-value-slider>
With double handles to select a range
<uimc-value-slider
max-value="100"
value="10"
second-value="50"
type="progress-double"
label="Progress Double"
theme="dark"
>
</uimc-value-slider>
With icon handles
<uimc-value-slider
max-value="100"
value="50"
second-value="50"
type="progress-double"
label="With Icon"
theme="dark"
>
</uimc-value-slider>
With steps scale
<uimc-value-slider
max-value="100"
value="50"
steps="10"
label="Step Slider"
theme="dark"
>
</uimc-value-slider>
With steps scale and double handles
<uimc-value-slider
max-value="100"
value="10"
second-value="50"
type="progress-double"
steps="10"
scale
label="Progress Double"
theme="dark"
>
</uimc-value-slider>
With steps but no visible scale
<uimc-value-slider
max-value="100"
value="50"
steps="10"
scale
label="Scale"
theme="dark"
>
</uimc-value-slider>
With number input
<uimc-value-slider
input-field
max-value="100"
value="10"
second-value="50"
type="progress-double"
label="Input Fields"
theme="dark"
>
</uimc-value-slider>