Skip to content

Tabs ​

Tabs organize content across different screens, data sets, and other interactions.

Overview · Specs · Guidelines · Accessibility

Tabs

  • Use tabs to group content into helpful categories
  • Two variants: primary and secondary
  • Tabs can horizontally scroll, so a UI can have as many tabs as needed
  • Place tabs next to each other as peers

A bar of primary tabs with destinations labeled Flights, Trips, and Explore. And a bar of secondary tabs with destinations labeled Overview and Specifications

  1. Primary tabs
  2. Secondary tabs

Availability & resources ​

TypeResourceStatus
DesignDesign Kit (Figma)Available
ImplementationFlutterAvailable
ImplementationJetpack ComposeAvailable
ImplementationAndroid Views (MDC-Android)Available
ImplementationWebAvailable

Differences from M2 ​

  • Color: New color mappings and compatibility with dynamic color
  • Layout: Icons and labels are now vertically centered within the container

Bar of primary tabs with destinations labeled Flights, Trips, and Explore

Tab icons and labels are positioned in the vertical center of the container

Unofficial offline mirror. Content © Google, licensed under CC BY 4.0.