Search the design system

Components

Slider

Slider allows changing a value with a draggable control.

slider: 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 an exact numerical value, consider using an input field.

Appropriate interaction pattern

slider: Appropriate interaction pattern — Use a slider for appropriate interactions.
Use a slider for appropriate interactions.
slider: Appropriate interaction pattern — 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

slider: Interaction states — Default

The default state, prior to user interaction.

Focus

slider: Interaction states — Focus

The slider is in focus.

Disabled

slider: slider — Disabled

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

Pressed

slider: slider — Pressed

The slider is currently being interacted with.

Hover

slider: slider — Hover

Currently hovering with a pointer device in desktop mode.

Formatting

Anatomy

slider: Anatomy
  1. Rail
  2. Track
  3. Thumb
  4. Tooltip

Elements

Label

slider: Elements — Label

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

Min/max values

slider: Elements — Min/max 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
4.2.1

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