Overview
Tabs are in-page organizational elements designed to allow users to navigate between different but related content on a page.
When to Use
Tabs are used to group information that may fall into different categories to help reduce cognitive load for users. By using tabs to organize content, the number of pages needed to complete a task is reduced. Information within tabs should not be directly related as it is not meant to compare information in two groups.
Formatting
Anatomy
- Tab Label
- Tab Icon (Optional)
- Selected Tab Item
Alignment
Alignment and appearance of tabs is dependent on whether or not they are contained in another component. The tabs should be aligned to the grid within the container they inhabit.
Behaviors
States
Tabs allow for selected and unselected states. Only one tab can be selected at a time, and one tab must always be selected. When a user selects a new tab, the previous tab is automatically deselected.
Modifiers
Tabs with Icons
An optional icon is available to add to the left of the tab label.