Internet Explorer is not supported by Design Library

The last version of Internet Explorer, version 11, was released on October 17, 2013. This is a very long time ago when taking into account the rapid development of web technologies. These days it is often difficult and time consuming to get modern technologies to work well in this old browser. More and more frameworks are dropping support, and even Microsoft themselves has announced that they will fully drop support for IE in their own services in 2021.

Consequently, we have decided to not include support for IE in the Design Library website.

Luckily, there are modern options in active development. Please use Firefox, Edge or Chrome instead.

Slider

A slider to adjust values and see results with.

Slider

Guidelines

Short description

The component enables a quick adjustment of values and provides an immediate update of the result.

When and how to use it

On pages where the user can experiment or adjust values in a scale, often used in calculators such as "How much can I borrow?".

Behaviour

A slider element slides along a horizontal bar. It is possible to enter a value into the input field or to drag the slider element to select a value. The values are predefined for each slider element. It is possible to show min/max values to make it more obvious which values are allowed.

Slider

Example

With min and max values

With min and max values

Error handling

In the case the user enters an erroneous value, meaning a value that is lower or higher than the allowed values, the number in the input field jumps to the max or min allowed value and an error message appears

Slider error

Slider error

Do's and don'ts

Do
  • The label should be a maximum of two rows.
  • Add min/max values if needed.
Don't
  • Don't overuse on one page.

 

Writing

-

 

Accessibility

-

 

Specification

Animation
  • On hover, increase size animation 5% on thumb
  • When selected, use Blue line on thumb - 3 px with 4 px border-radius

Related patterns & components

Page last updated

Feedback

Was this helpful?