Zur Navigation Zum Inhalt Kontakt Menu Find component Overview Web (Legacy) Principles Foundation Accessibility Design System Guidelines Deutsch Français Italiano English Our design principles User-centred Recognisable Inclusive Reduced Holistic Self-explanatory Task-oriented Appropriate SBB Brand portal Logo Digital clock Rights of use Base colors Functional colors Off brand colors Icons Timetable icons Pictograms About accessibility Über diesen Guide Contact Further information Product Owner User Research Interaction Design Visual Design Development Content Design Testing What is a design system? Designing Coding FAQ Help Process Contribution Contact Overview Base Components Overview Releases Design Tokens Components Roadmap Overview Base Informationen Overview Base Components Sense & Purpose Community Assets Instructions App Icons Power-Apps Digital banner ads SAP Design Guidelines Tab

Overview

What does the component do?

It is used to structure the display of data and forms.

When should the component be used?

  • When switching between different aspects within the same context.
  • When the content of various aspects cannot be seen at the same time by the user.

Rules

  • There are at least two tabs.
  • The first tab is always selected by default.
  • The tab names are always single-line.
  • The tab name should be as simple and concise as possible so that the themes can be quickly understood.
  • If the tab is too long for the viewport, the other tabs can be reached with a horizontal scrollbar (desktop) or by swiping (tablet/mobile).
  • Another tab module is not permitted within a tab (tab-in-tab).
States and variants

States

The component has the following states:

  • Active
  • Inactive
  • Hover
  • Focused

Variants

Default

Image of a tab, default

With quantity indicator

Image of a tab, with quantity indicator
  • The quantity indicator provides information about how many entries a list in the content of the tab shows.
  • The quantity indicator only contains numbers and is a maximum of three digits.

Specification

DesignCode

Find component

Web (Legacy)

Basics Brand Brand Divider Divider Typografie Typografie Components Accordion Accordion Autocompletion Autocompletion Breadcrumb Breadcrumb Button Button Captcha Captcha Checkbox Checkbox Checkboxpanel Checkboxpanel Datepicker Datepicker Lightbox Lightbox Fileselector Fileselector Ghettobox Ghettobox Link Link Loading Indicator Loading Indicator Mediagallery Mediagallery Mediaslider Mediaslider NBC NBC Notification Notification Pagination Pagination Processflow Processflow Radiobutton Radiobutton Radiobuttonpanel Radiobuttonpanel Searchfield Searchfield Select Select Tab Tab Table Table Tag Tag Textarea Textarea Textexpand Textexpand Textfield Textfield Timefield Timefield Toggle Toggle Tooltip Tooltip Usermenu Usermenu
Imprint Contact Cookie settings