Skip to content

Tabs usage guidelines

Tabs organize content into distinct sections, allowing users to switch between different views of information within the same context or different pages within the same UI.

  • To break down complex information into smaller, digestible chunks and present different categories of information that share the same overall context.
  • To allow users to switch between different content views on a single page, such as “Overview”, “Details”, and “Settings”.
  • To allow users to easily navigate between separate but related pages.
  • For global navigation between entirely different UIs or tools.
  • When there are only two or three distinct content sections that could be effectively displayed using a simpler layout, such as with cards or disclosures.
  • For filtering or sorting content within a single list. For this filters should be used instead.

Used for organizing content sections within a single page, such as different views of a dashboard, profile settings, or product details. The user stays on the same URL, but the displayed content changes.

Content for tab 1

Used for top-level navigation where each tab represents a distinct page within a UI. Clicking a link tab updates the URL and navigates the user to a new page.

Typically tabs are placed at the top of the page, but they can be placed lower down on the page if there is content above them that they do not interact with. Tabs are always placed at the top of the content group or page they control so that there is clear indication of what content or page will be changed. They should be horizontally aligned and visually distinct from the content they control.

Tab groups have a horizontal divider that visually connects each of the individual tabs. This divider should span the entire width of the container the tabs are in.

  • Use clear tab labels that are consistent across the tab group.
  • Use icons that are obvious to users and related to the label.

Each tab can optionally include a badge to show status, errors, or other supplementary information. To indicate that there is an error within a tab, use a badge rather than another indicator.

Do
Content for mappings tab

If the available space doesn’t allow for all tabs to be put in a single row, the tabs can wrap into additional lines.