Search the design system

Components

Tabs Menu

The tabs menu is used to display a list of options for navigation. It can be used in the top navigation or within your layout to group information and functions within a context.

Tabs menu

Usage

Structured Navigation

Structured navigation

Organize the menu for easy navigation. Group related items. Prioritize commonly accessed options to enhance usability.

Hierarchy

Hierarchy

Create a user-centric menu hierarchy. Order items for intuitive 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 within a specific function. When switching between content at a lower hierarchy level, consider using the tabs component.

First level navigation

First level navigation

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

Navigation within context

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

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

Formatting

Anatomy

Anatomy of the Tabs Menu.

A. Container
B. Label
C. Icon
D. Stroke (selected state)
E. Badge

Behavior

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.

Selected state of the Tabs Menu.

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

Modify

Sizes

The tabs menu is available in three sizes, as displayed below.

The Tabs Menu in three different sizes.

Tabs menu in sizes large, medium and small.

Icon

Icons are mandatory in the large and medium variants, and optional in the small variant. The tabs menu supports an icon for every item.

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

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

Badge

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

Menu items with badges in the “settings” section.

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

Left-aligned tabs menu

Use for a left-aligned design.

Align center

Center-aligned tabs menu

Use for a center-aligned design.

ComponentsTabs / Code
ComponentsTabs Menu / Code

© DesignTech - AB Svenska Spel

What's newTerms of useAccessibility statementCookiesTeams channel [Internal]
@svs/ui version
2.3.0

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