Tabs
Tabs allow the user to interact across the sections to switch from one set of content to another, making the transition easily from one peer to the other.
Tabs organize and allow navigation between groups of content that are related and at the same level of hierarchy.
- Use tabs for navigation when dividing content into different sections.
- The content should have the same level of hierarchy.
- Tabs can contain icons and text. Text labels should be short and have a clear relation to content.
- Do not use tabs to move through sequential content that needs to be read in a particular order.
- Avoid using tabs for comparing content across multiple tabs, such as different sizes of the same item.
There are two variations of tabs, default and container. They are hierarchically the same and should never be nested within each other. Tabs are usually placed above the content under the header o general navigation.
Users can navigate between tabs by tapping a tab, or by performing a swipe gesture over content in mobile devices.
Interacting with the tabs makes the content scrolls to the point that is associated with that specific tab, while the tabs keep fixed at the top of the container.