Overview
Establish distinct, yet related, content within a set of tabs.
Cardinal tabs can be paired with components such as top app bars or nested in components like cards.
Usage
Tabs Consideration
- Where 2-7 categories of related content of the same hierarchical value.
- Where category names are relatively short and predictable, both in terms of position and copy.
- Where the number of categories is unlikely to change on a regular basis.
- Where categories are similar in nature.
- Where categories fit in a single row.
When to Reconsider Tabs
- Nested tabs within other tabs.
- More than seven tabs of content
- Content is meant to be sequential.
- Tab labels are meant to navigate to different areas.
- Content in tabs is meant to be compared.
- Content will increase or decrease height or width depended upon user action.
- Large amount of content in any or all tabs (applies only if the tab is less than the full width of the page).
Tabs Anatomy
A low emphasis button used to support the secondary CTA.
- Unselected State: Body Small
- Radius: 2 px, Small Z Depth
- Hover: 8px with 2 px border radius
Container Options
Full bleed tabs are designed so that the edges stick to the width of the user’s screen. Use in complex cases such as live data or reporting.
Note: On larger screens, card overlays should have a specific width of 4 or 5 columns.
Fixed tabs are designed so that the edges remain contained within the width of the user’s screen. Use in less complex use cases or with static content.
Spacing Behavior
Spacing in a tab uses the same spacers and sizes down based on grid and spacing logic.
How a Tab Grows
Tabs grow vertically allowing the text within to center and adjust thereby keeping to a minimum the amount of space between the text and the tab. Also, content centers vertically within the tab.
Colors
Tabs grow vertically allowing the text within to center and adjust thereby keeping to a minimum the amount of space between the text and the tab. Also, content centers vertically within the tab.
Background
Hover
Unselected Label
Selected Label
Selected Label
Background
Hover
Unselected Label
Selected Label
Selected Label
Background
Hover
Unselected Label
Selected Label
Selected Label
Do's & Don'ts
Group Like Content
Organize like content together with tabs. When categories are similar in nature, tab them together.
Use tabs when categories are similar in nature.
Use tabs when content does not relate.
Hide Content
Hide important information that may be critical for comparison.