Search the design system

Components

Slider

Slider allows changing a value with a draggable control.

slider

Usage

A slider lets the user select a single value from a continuous scale. Sliders are appropriate for making a selection from predetermined list in a range, or a value that does not need to be exact. In scenarios where the available range is very large or very small using a slider should be avoided. For scenarios where the user is requested to provide a exact an exact numerical value, consider using an input field.

Appropriate interaction pattern

Use a slider for appropriate interactions.
Use a slider for appropriate interactions.
Avoid sliders for interactions where there are more appropriate interaction patterns available.
Avoid sliders for interactions where there are more appropriate interaction patterns available.

Interaction states

Default

Default slider state

The default state before the user interacts with the slider.

Focus

Focused slider state

The slider is in focus.

Disabled

Disabled slider state

The slider is unavailable for interaction. For accessibility considerations, avoid using the disabled state in your designs if possible.

Pressed

Pressed slider state

The slider is currently being interacted with.

Hover

Hover slider state

Currently hovering with a pointer device in desktop mode.

Formatting

Anatomy

The anatomy of a Slider

A. Rail
B. Track
C. Thumb
D. Tooltip

Elements

Label

A label can be provided in order to inform the user the function of the slider.

A label can be provided to inform the user of the slider's function.

Min/max values

Min/max values can be added to the edges of the track to indicate the boundary values.

Min/max values can be added to the edges of the track to indicate the boundary values.

ComponentsSeparator / Code
ComponentsSlider / Code

© DesignTech - AB Svenska Spel

What's newTerms of useAccessibility statementCookiesTeams channel [Internal]
@svs/ui version
2.3.0

Feedback

We always want to improve the Design System and would be thrilled to get your feedback.

Please share your wisdom with us.

Microsoft Teams [internal]

Designsystem@svenskaspel.se