Search the design system

Components

Tabs Menu

Tabs Menu displays a list of options or items for navigation. It can be used in the top navigation or within your layout to group information and functions within a context.

tabs menu: tabs-menu

Usage

Structured Navigation

tabs menu: tabs-menu — Structured Navigation

Organize menu for easy navigation. Group related items. Prioritize commonly accessed ones. Enhance usability.

Hierarchy

tabs menu: tabs-menu — Hierarchy

Create a user-centric menu hierarchy. Order items for desired navigation, prioritizing important options at the top. Guide users to key features efficiently.

Navigation

The tabs menu serves as the primary navigation pattern within a location. It is typically implemented at the first level of navigation to switch between core functions or sections. In some cases, it may also be used for more localized navigation for a specific function. When switching between content hierarchically lower than navigation, consider using the tabs component.

First level navigation

tabs menu: Navigation — First level navigation

Example of the tabs menu used to facilitate navigation between primary destinations within the Lotto product.

Navigation within context

tabs menu: Navigation — Navigation within context

Example where in addition to primary navigation within Stryktipset (“Hur vill du spela?”), the tabs menu is used to navigate between a guide, statistics etc. within a limited context inside a side panel.

Content

tabs menu: Content — Arrange menu links logically with concise labels.
Arrange menu links logically with concise labels.
tabs menu: Content — Avoid vague or confusing or overly long labels for your menu links.
Avoid vague or confusing or overly long labels for your menu links.
tabs menu: tabs-menu — Use different styles for your items menu to enhance clear navigation and make it easier for users to find what they need.
Use different styles for your items menu to enhance clear navigation and make it easier for users to find what they need.
tabs menu: tabs-menu — Don’t use the same menu style for hierarchically separated menus, as it can lead to confusion and hinder user navigation.
Don’t use the same menu style for hierarchically separated menus, as it can lead to confusion and hinder user navigation.

Formatting

Anatomy

tabs menu: Anatomy
  1. Label
  2. Icon
  3. Stroke (selected state)
  4. Badge

Behaviour

Selected state

One, and only one tab may be selected at a time. The selected state is indicated with a stroke at the bottom of the item.

tabs menu: Selected state

Tabs menus where the “home”-tab is currently selected.

Modify

Sizes

Tabs menu is available in three sizes, as displayed below.

tabs menu: Sizes

Tabs menu in sizes large, medium and small.

Icon

Obligatory in the large and medium variants, and optional in the small, tabs menu features the use of an icon for every item.

tabs menu: Icon

Large and small variants of the tabs menu, with a variety of icons.

Badge

Each item in the tabs menu allows for the use of a badge, typically to be used for alert the user of something they need to pay attention to in the associated section or page.

tabs menu: Badge

Menu items with badges in the “settings” section.

Alignment

Alignment is key for design consistency and user experience. It ensures elements in your menu are properly positioned, improving navigation, aesthetics, and maintaining a consistent visual flow in your interface.

Align left

tabs menu: Alignment — Align left

Use for left aligned design.

Align center

tabs menu: Alignment — Align center

Use for center aligned design.

ComponentsTabs / Code
ComponentsTabs Menu / 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