Slider button

The slider button serves as a navigation element.

It can be used as a stand-alone or can be implemented into other components (i.e. theme-slider).


Overall styling#

  • The component has rounded corners of 2px.
  • It uses the shadow-default.
  • The icon can be adjusted to any arrow icon.
TypesAttributesPreview
Defaultbackground-color: basic-white
icon-color: gray-darker
slider: default
Hover / focusbackground-color: brand-primary-base
icon-color: basic-white
slider: hover-focus

Spacing & measurements#

TypesAttributesPreview
Horizontal spacingpadding: 8pxhorizontal-spacing
Widthfixed to 32pxwidth
Icon size16x16pxicon size

What can be modified?#

  • Override the arrows.
  • Adjust the height.

Our workflow in Sketch#

  • The icon in the slider-button can be changed via the "Overrides"-function.

Change log#

Changed#

  • Doc: "Slider button" | Clean up the documentation for the right structure and sentence case

Changed#

  • Doc: "Slider button" | What can be modified part

Changed#

  • "Slider button" | Changed symbols: with layer-style settings
  • "Slider button" | Changed symbols: with radius symbol and layer styles