Specifications
- Tabs should always be placed on top of the content they represent.
- Tabs differ from primary forms of navigation, such as Navbars, in that they are considered to be related to each other (i.e. types of media, genres of music, etc…)
- Users shouldn’t need to simultaneously see content from multiple tabs.
- The currently selected tab should be appropriately highlighted.
- Always have one tab pre-selected.
- Tabs should be easy to scan and thus should have short, meaningful labels or icons. Avoid long text labels that don’t truncate or wrap.
- Labels should either be all text or all icons, not both intermixed.
- Avoid nesting tabs.
- Make unselected tabs visible to avoid potentially hiding features/content from the user.
- Maintain consistency by not removing tabs when their function is unavailable. Instead offer an explanation as to why a tab’s content is unavailable and present the user with an action to remedy it.
- Always arrange tabs in an order that makes sense for the user.
There are three types of tabs:
- Text only has boarder to clear to users.
- Icon text is the same as current Modus.
- Icon only.
State | Example | Height |
---|---|---|
Text Only | 56dp | |
Text & Icon | 80dp | |
Icon Only | 72dp |
Note: In-cab size only. See mobile patterns (coming soon) for smaller options if required.
Behaviors
- Try to organize tabs so that the most relevant, pre-selected tab is also the left most tab.
- When clicked, tabs should transition between views and highlight the selected tab.
- Disabled tabs should have a reduced opacity.
- Tab content should not disrupt the overall page layout in ways that negatively impact user experience.
- At a smaller screen size, the tabs collapse into a dropdown.
OEM Branding
- This component can be branded for OEM’s.
Editorial
- Tab labels should be in all uppercase.
- Avoid tab labels that contain more than two words.
- Avoid truncating tab labels.