Tab Bar
A tab bar provides persistent navigation among a small set of top-level application sections while preserving each section’s place and state.
Download Markdown (.md)Soroush’s Product Wiki · https://wiki.soroush.uk/topic/tab-bar/
01What it means
A tab bar, also called a bottom navigation bar in some systems, is a set of peer destinations representing the primary areas of an application. Unlike content tabs that switch panels within one context, tab-bar items change top-level sections and commonly retain an independent navigation history in each section.[1][2]
02Why it matters
Persistent top-level choices make the product structure visible and support rapid switching. Treating a tab bar as a row of arbitrary actions weakens orientation and creates unpredictable navigation state.
03When to use it
Use a tab bar for a small, stable set of frequently accessed peer sections, especially in mobile applications. Use tabs for local content views, a navigation drawer for a larger hierarchy, and a toolbar for commands that act on the current content.
04How it works
- Identify the few top-level destinations that define the application’s primary structure.
- Give every destination a concise, stable label and a distinguishable selected state.
- Preserve the navigation stack, scroll position, and working state within each section when appropriate.
- Keep the bar available during ordinary navigation and define behavior for deep links and reselection.
- Test target size, long translations, badges, keyboard focus, screen-reader names, and compact widths.
05A practical example
A finance app uses Home, Activity, Pay, and Profile as persistent tab-bar destinations. A user opens a transaction detail under Activity, switches to Pay, and returns to the same transaction when selecting Activity again; transfer submission remains a button inside Pay, not a tab item.
06Where it breaks
Tab bars fit only a small number of stable destinations and can crowd narrow screens. Preserved stacks may confuse users if reselection behavior is inconsistent, while badges can turn navigation into a noisy notification surface.
Common mistakes
- Mixing destinations with commands such as Create or Scan without clarifying the model.
- Using a tab bar for many, changing, or deeply nested sections.
- Confusing top-level tab-bar navigation with tabs inside a page.
- Resetting a section unexpectedly whenever users switch away and back.