Tab

Tabs organize the content across different screen areas.


Recommendations#

  • Only one tab page can be active, the other tab is default.
  • Only the content of the activated tab is visible to the user.
  • Use the tab to organize different content areas like "current specials" or "online shop".

Overall styling#

  • The text-style is basic bold.
  • The line-height is 120%.
  • The indicator has a thickness of 2px.
  • The background-color always is basic-white.

tab bar


Elements#

Types Attributes Preview
Defaulttext-color: gray-darkerdefault
Activetext-color: brand-primary-base
indicator: brand-primary-base
active 

Spacing & measurements#

Types Attributes Preview
Horizontal spacingThe tab component can be variable in width but the text is always centered and has a minimum spacing of 8px.horizontal-spacing
Vertical spacing8pxvertical-spacing

What can be modified?#

  • Override the text.
  • Adjust the width of single symbols according to the width of the device.

Change log#

2.1.0 App - 2021-07-22#

Changed#

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

2.0.0 App - 2021-06-24#

Highlights#

  • Sketch: "Tab" | New layer-styles, text-styles and color-variables settings

Changed#

  • Doc: "Tab" | Updated documentation