Navigation across viewports
Applies to Mobile to large desktop
Navigation is the first thing to stop fitting. Decide what stays visible at each width before deciding how to hide the rest.
Mobile
Tablet
Desktop
- Mobile
- A compact header with a menu, or bottom navigation
- Tablet
- Primary items visible; lower-priority ones collapsed
- Laptop
- Full navigation, with tighter spacing and fewer secondary actions
- Desktop
- Full navigation visible
- Large desktop
- Full navigation visible; do not spread it across the whole width
Depends on how many primary destinations there are, how often people switch between them, touch or pointer. A starting point, not a correct value.
Why?
Anything behind a menu is used less. So the question at each width is which destinations deserve to stay in view.
When to use it
- Bottom navigation when there are three to five primary destinations that people switch between often.
- A menu button when there are many destinations, or they are visited rarely.
- Progressive disclosure for secondary items at any width.
When not to
- A menu button is not always the right answer on mobile. It hides every destination equally.
- Do not use bottom navigation for more destinations than fit with readable labels.
Common mistakes (3)
- The desktop bar squeezed until labels wrap or truncate.
- A menu button on a wide screen that has room for the items.
- Different destination names on mobile and desktop.
Official guidanceAppleMaterial
- Apple
On iPhone Duo the system moves toolbars and tab bars to the side on the outer display, and on the inner display in landscape, to keep vertical space for content. In general, do not override this.
Apple HIG, Designing for iPhone Duo(opens in a new tab)Design-system convention
Applies to foldable
- Material
Folded, a single column layout with a bottom navigation bar is straightforward but effective. Unfolded in landscape, a two-pane layout with a navigation rail makes excellent use of the wide screen.
Android Developers, Learn about foldables(opens in a new tab)Design-system convention
Applies to foldable