Tabs organize content across different screens, data sets, and other interactions.
Tabs organize and allow navigation between groups of content that are related and at the same level of the hierarchy.
Scalable: As tabs can horizontally scroll, a UI can have as many tabs as needed.
Informative: Tabs organize content into categories to help users easily find different types of information.
Peers: Tabs are displayed next to each other as peers, in categories of equal importance.
Each tab should contain content that is distinct from other tabs in a set. For example, tabs can present different sections of news, different genres of music, or different themes of documents.
Text labels should clearly and succinctly describe the content of the tab they represent. Tab content should contain a cohesive set of items that share a common characteristic.
Tab labels appear in a single row.
To differentiate an active tab from an inactive tab, apply an underline and color change to the active tab's text. An underline and color change differentiate an active tab from the inactive ones.
Users can navigate between tabs by clicking a tab.
To navigate between tabs, click on the individual tab. The tab container should always be left-aligned.
The tabs will remain hidden until scrolled, to scroll between tabs use:
Tabs are displayed in a single row, with each tab connected to the content it represents. As a set, all tabs are unified by a shared topic.
Tabs can be nested into components such as Platform Navigation or cards.
Tabs control the UI region
displayed below them.
Don't place tabs above content that they don't control. If tabs only change a section of the UI, embed them within that section.
By default, tabs inherit enabled states with one active state.
The inactive state of a tab can inherit a hover, focus, and clicked state.
The active state of a tab can inherit a hover, focus, and clicked state.
The width of each tab is determined by the text label's width in addition to 24px
padding on left and right side.