Skip to content
Corex

Slider

Style

Modifiers and state flags for the slider.

Semantic

Use class="ui-{role}" to set the semantic palette of a slider.

Available options: accent, alert, brand, info, success

Default
50
Accent
50
Brand
50
Alert
50
Info
50
Success
50

Size

Use class="ui-size-{size}" to set the size of a slider.

Available options: xs, sm, md (default), lg, xl

SM
50
MD
50
LG
50
XL
50

Max width

Without max-w-*, width comes from component CSS. Default for slider: 3xs (width: 100%).

Use class="max-w-{step}" to set the maximum width of a slider root.

Available options: none, full, 9xs, 8xs, 7xs, 6xs, 5xs, 4xs, 3xs (default), 2xs, xs, sm, md, lg, xl, 2xl, 3xl, 4xl, 5xl, 6xl, 7xl, 8xl, 9xl

default (3xs)

50

none

50

full

50

9xs

50

8xs

50

7xs

50

6xs

50

5xs

50

4xs

50

3xs

50

2xs

50

xs

50

sm

50

md

50

lg

50

xl

50

2xl

50

3xl

50

4xl

50

5xl

50

6xl

50

7xl

50

8xl

50

9xl

50

States

Disabled
50
Read only
50
Invalid
50

Markers

Markers
50
No markers
50