# Navigation and structure {#c4}

> Chapter 4 of the App Design Guide 3.0.0. Index: https://www.designguide.dev/llms.txt

Navigation tells a person where they are, where they can go, and how to get back. These rules cover the first screen, tab bar, containers, overlays, sidebars, search, and settings.

## Tabs and the first screen {#s4-1}

### 4.1 Open the product on the main job  {#open-the-product-on-the-main-job}

Default

**Rule:** Open the product on the screen where the person does the main job, not on a menu.

**Why:** A first screen that offers the job saves steps; a menu makes people hunt. See [1.4](https://www.designguide.dev/r/open-on-the-main-job.md).  **When not:** A suite of tools with many equal jobs can open on a home screen of choices.

- Show the next action on the first screen.
- Show the last item the person used beside it.

**Picture:** Do: The first screen offers the next workout and a Start button. Don't: The first screen is a menu of equal choices.

**See:** [1.4 Open on the main job](https://www.designguide.dev/r/open-on-the-main-job.md)

### 4.2 Use 3 to 5 labeled tabs  {#use-3-to-5-labeled-tabs}

Default · Adapts

**Rule:** Use a bottom tab bar with 3 to 5 items for the main areas, each with a one-word label.

**Wide screen:** On a wide screen, show the same areas in a sidebar or a rail, as [Rule 5.10](https://www.designguide.dev/r/move-navigation-from-bar-to-rail-to-sidebar.md) sets, with the same order. (Triggers: Width 840+)

**Why:** A label says what an icon means. Under 3 items waste the bar; over 5 make small targets.  **When not:** A product with one main area needs no tab bar.

- Use one word of 8 characters or fewer per label.
- Put the most used area first.
- Put extra areas under a fifth tab, More (see [Rule 4.11](https://www.designguide.dev/r/name-sidebar-areas-with-plain-nouns.md)).

**Picture:** Do: 4 items. Each icon has a word. Don't: 6 icons and no words. Each target is small. Size chain (Compact, 375; Medium, 768; Large, 1280): Compact shows a tab bar. Medium shows a rail. Large shows a sidebar. The areas keep their order.

**See:** [5.10 Move navigation from bar to rail to sidebar](https://www.designguide.dev/r/move-navigation-from-bar-to-rail-to-sidebar.md), [4.11 Name sidebar areas with plain nouns](https://www.designguide.dev/r/name-sidebar-areas-with-plain-nouns.md)

### 4.3 Mark the selected area with a fill  {#mark-the-selected-area-with-a-fill}

Default

**Rule:** Mark the selected area with a filled shape and bold text, in a tab bar, a rail, or a sidebar.

**Why:** A person must see where they are at a glance, even in glare or with weak color vision. See [15.7](https://www.designguide.dev/r/never-use-color-alone.md).

- Make the selected shape differ by form, not only by color.
- Keep selected-state contrast at 3 to 1 or more.

**Picture:** Do: The selected tab has a filled pill and bold text. Don't: Nothing marks the current tab. Figure: Tab bar: a filled pill and bold text. Figure: Rail: a fill and a bold word. Figure: Sidebar: a fill and bold text.

**See:** [15.7 Never use color alone](https://www.designguide.dev/r/never-use-color-alone.md)

### 4.4 Show a live value on one tab  {#show-a-live-value-on-one-tab}

Default

**Rule:** Put a live value, such as a count, on one tab when the value helps the person decide to open it.

**Why:** A count tells people something is new. Counts on every tab become noise.

- Show a number for a count of items that need action.
- Show "99+" for a count above 99.
- Clear the value once the person sees the items.

**Picture:** Do: One tab carries a count and signals work to do. Don't: Counts on all tabs make none of them stand out.

## Overlays and containers {#s4-2}

### 4.5 Choose the container by task size  {#choose-the-container-by-task-size}

Default · Adapts

**Rule:** Open a sheet for a choice or a short task, push a page to go deeper, and use a dialog to block.

**Wide screen:** On a wide screen, use a popover or side panel for a choice, a detail pane for depth, and a centered dialog. (Triggers: Width 840+, Fine pointer)

**Why:** The container sets the size of the next step: a sheet keeps the screen visible, a page changes the place.

- Push a page for a detail view with its own back arrow.
- Use a sheet for 1 to 5 options or 1 to 2 fields.
- Use a dialog only to confirm an irreversible action ([8.12](https://www.designguide.dev/r/confirm-only-what-cannot-be-undone.md)).

| Task | Small screen | Medium | Wide screen | Use it when |
| --- | --- | --- | --- | --- |
| Pick from a few options | Sheet | Centered sheet | Popover at its control | 1 to 5 options |
| Do a short task beside the content | Sheet | Popover | Side panel | The content must stay in view |
| Go deeper | Pushed page | Pushed page | Detail pane | The item has its own content |
| Finish or confirm first | Full-screen dialog | Centered dialog | Centered dialog, width capped | The person must decide first |

**Picture:** Do: A sheet holds 3 options. The list stays in view. Don't: A new page for 3 options hides the list. Size pair (Phone, 375; Window, 1280): The same choice opens a sheet on the phone and a popover at its control in the window.

**See:** [8.12 Confirm only what cannot be undone](https://www.designguide.dev/r/confirm-only-what-cannot-be-undone.md)

### 4.6 Use the lightest overlay that fits  {#use-the-lightest-overlay-that-fits}

Default

**Rule:** Pick the overlay with the lowest cost to the person: toast, banner, popover or sheet, side panel, dialog, then full page.

**Why:** Each step up blocks more screen and asks for more attention.

- Use a toast for a result that needs no action.
- Reserve the dialog for blocking confirms.
- Use a full page for long tasks.

| Container | Blocks the person | Use it for |
| --- | --- | --- |
| Toast | No | A short result, such as "File saved" |
| Banner | No | A state that stays until it ends |
| Popover, sheet, or side panel | Partly | A choice or a short task |
| Dialog | Yes | Confirming an irreversible action |
| Full page | Yes | A long task, or content with its own address |

**Picture:** Do: A toast confirms the order and leaves. Don't: A dialog blocks the screen to say the order is placed. Size pair (Phone, 375; Window, 1280): A toast confirms the order at both sizes. Only its place changes.

### 4.7 Allow one blocking layer at a time  {#allow-one-blocking-layer-at-a-time}

Default

**Rule:** Show at most one blocking layer at a time, except a submenu inside a menu and one confirm dialog over a panel.

**Why:** Stacked layers hide content, confuse focus, and trap people.  **When not:** A confirm dialog may sit over a side panel. Close the confirm first.

- Show one toast at a time (see [6.16](https://www.designguide.dev/r/show-one-toast-at-a-time.md)).
- Return focus to the control that opened the layer.
- Let Esc close the top layer only.

**Picture:** Do: One dialog on the screen. Nothing else is open behind it. Don't: A second dialog sits on the first and hides part of it. Do: A menu opens one submenu. Nothing else is open. Don't: A second dialog hides part of the first.

**See:** [6.16 Show one toast at a time](https://www.designguide.dev/r/show-one-toast-at-a-time.md)

### 4.8 Keep back and close in the same place  {#keep-back-and-close-in-the-same-place}

Default · Adapts

**Rule:** Put back on every pushed page and close on every temporary screen at the top left.

**Wide screen:** On a wide screen, keep Back by the title and put Close at the corner of its panel. (Triggers: Width 840+)

**Why:** A control that never moves needs no thinking.

- Support the system back gesture on every pushed page.
- Never use both on one screen.
- A browser Back button works at every width ([Rule 13.8](https://www.designguide.dev/r/make-back-and-forward-work.md)).

**Picture:** Do: Back and close both sit at the top left. Don't: Back moves to the right on one page. Size pair (Phone, 375; Window, 1280): Same order. The window adds a Details panel with Close at its corner.

**See:** [13.8 Make Back and Forward work](https://www.designguide.dev/r/make-back-and-forward-work.md)

## Modes and names {#s4-3}

### 4.9 Name a mode or account switch  {#name-a-mode-or-account-switch}

Default · Adapts

**Rule:** When the person switches an account or a mode, show a full screen that says which one is now active.

**Wide screen:** On a wide screen, show the notice in the pane that changed, and keep the sidebar in view. (Triggers: Width 840+)

**Why:** Actions land in the active account. A silent switch lets people edit or delete in the wrong place.  **When not:** A switch between accounts that share data can show the name in the header only.

- Name the new account in the title.
- Say what the person now sees and what stays private.
- Show the active account name in the header after the switch.

**Picture:** Do: A full screen names the new account before any action. Don't: Only the list changed. Nothing says whose files these are. Size pair (Phone, 375; Window, 1280): The phone shows a full screen. The window shows the notice in the pane and keeps the sidebar.

### 4.10 Label a valuable feature with a word  {#label-a-valuable-feature-with-a-word}

Default · Adapts

**Rule:** Do not hide a valuable feature behind an icon alone (home rule: [6.2](https://www.designguide.dev/r/label-every-main-action-with-text.md)).

**Wide screen:** On a wide screen, a dense toolbar may use an icon alone, with a tooltip, a menu entry, and any shortcut. (Triggers: Hover, Fine pointer, Dense data)

**Why:** People skip icons they cannot read. A feature they never find does not exist for them.  **When not:** A universal icon, such as search or close, can stand alone.

- Add a word to every icon that starts a main action.
- Use an overflow menu only for rare actions.
- Tooltips and shortcuts are in [Rule 12.6](https://www.designguide.dev/r/name-every-icon-only-button-with-a-tooltip.md) and [Rule 12.20](https://www.designguide.dev/r/show-shortcuts-where-people-look.md).

**Picture:** Do: Each action has a word and helper text. Don't: 4 icons. The person must guess. Size pair (Phone, 375; Window, 1280): The phone names every action. The window uses icons, and a tooltip names each one.

**See:** [6.2 Label every main action with text](https://www.designguide.dev/r/label-every-main-action-with-text.md), [12.6 Name every icon-only button with a tooltip](https://www.designguide.dev/r/name-every-icon-only-button-with-a-tooltip.md), [12.20 Show shortcuts where people look](https://www.designguide.dev/r/show-shortcuts-where-people-look.md)

### 4.11 Name sidebar areas with plain nouns  {#name-sidebar-areas-with-plain-nouns}

Default · Adapts

**Rule:** Name up to 7 areas with single-word nouns, and put the rest under a fifth tab, More, at Compact.

**Wide screen:** On a wide screen, show all areas in the sidebar, with no More tab. (Triggers: Width 840+)

**Why:** A sidebar is a map. Short, parallel labels scan fast.

- Show the 4 most used areas in the tab bar.
- Use no more than 3 levels.
- Match each page title to its sidebar label.

**Picture:** Do: Short nouns. Each label names one area. Don't: "Manage" starts every label and hides the difference. Size pair (Phone, 375; Window, 1280): The phone shows 4 areas and More. The window shows all 6 areas in the sidebar.

## Search, settings, and maps {#s4-4}

### 4.12 Put search above what it searches  {#put-search-above-what-it-searches}

Default · Adapts

**Rule:** Place a search field above the content it searches, and do not hide it behind an icon when there is room.

**Wide screen:** On a wide screen, give the search field a key that focuses it, and keep it open above its pane. (Triggers: Keyboard, Width 840+)

**Why:** People look at the top of a list first, and a visible field shows what search covers.  **When not:** A screen with little room, such as a map, can use a search icon that opens a field.

- Keep the field in the same place on every list.
- Keep the field wide enough for a common search.

**Picture:** Do: The search field sits above the list. Don't: A header icon hides the field, though the screen has room. Size pair (Phone, 375; Window, 1280): The search field sits above the list on both. The window adds a key that focuses it.

### 4.13 Write settings as rows with helper lines  {#write-settings-as-rows-with-helper-lines}

Default · Adapts

**Rule:** Write each setting as a row with a title, one line of helper text, and a chevron.

**Wide screen:** On a wide screen, show a category list beside the rows of the chosen category, with no push. (Triggers: Width 840+)

**Why:** The helper text says what the setting does before the choice.

- Keep the title to 1 to 3 words.
- Use a switch, not a chevron, for an on or off setting.
- Pick one save model for each group of settings ([Rule 6.9](https://www.designguide.dev/r/pick-one-save-model-for-each-settings-group.md)).

**Picture:** Do: Each row has a title, helper text, and a chevron. Don't: Titles alone leave the person guessing. Size pair (Phone, 375; Window, 1280): The phone pushes a page for each category. The window shows the rows beside the list.

**See:** [6.9 Pick one save model for each settings group](https://www.designguide.dev/r/pick-one-save-model-for-each-settings-group.md)

### 4.14 Put a safety control on the object  {#put-a-safety-control-on-the-object}

Default

**Rule:** Put a reversible safety control, such as Lock, on the object it protects, not in settings.

**Why:** A person needs the control at the moment of worry.  **When not:** A control that changes the whole account belongs in settings.

- Use plain words, such as Lock file and Pause bookings.
- Show the current state on the control.
- Make the control reversible in one step.

**Picture:** Do: The Lock switch sits on the file it protects. Don't: Lock hides in a Security menu, several steps away.

### 4.15 Offer a context shortcut  {#offer-a-context-shortcut}

Default

**Rule:** When the context gives a likely next step, show that step as a shortcut, not as a path through a menu.

**Why:** A shortcut skips 3 screens. The app already knows what is likely.  **When not:** A context with no clear signal needs no shortcut. This is not a right-click menu (see [Rule 6.27](https://www.designguide.dev/r/group-menu-items-by-job.md)).

- Base the shortcut on a clear signal, such as place or time.
- Show the full path too, for when the shortcut does not fit.
- On a context event, change the header and keep the content still.

**Picture:** Do: A shortcut offers the free room next to the person. Don't: The person must open Rooms, then Floors, then pick a room.

**See:** [6.27 Group menu items by job](https://www.designguide.dev/r/group-menu-items-by-job.md)

### 4.16 Show where the person is  {#show-where-the-person-is}

Default

**Rule:** Give every screen a title, and show a path in a tool with 3 or more levels.

**Why:** A person who goes deep in a tool loses the way back.

- Write the path from the top area down to this screen.
- Make each step of the path a link.
- Match the title to the last step of the path.

**Picture:** Do: The path and the title tell the person where they are. Don't: The title shows no path to the levels above.

### 4.17 Keep context fixed while the sheet changes  {#keep-context-fixed-while-the-sheet-changes}

Default · Adapts

**Rule:** On a map or a canvas, keep the context chip and the map fixed while a sheet or side panel changes.

**Wide screen:** On a wide screen, show the detail in a side panel beside the map, with the chip and the map unchanged. (Triggers: Width 840+)

**Why:** The person keeps one place and one question. Only the sheet changes.  **When not:** Move the map when the person asks or the selected item sits off screen (sheet types: [Rule 4.5](https://www.designguide.dev/r/choose-the-container-by-task-size.md)).

- Use 3 states: pins and list, one detail, full-screen proof.
- The proof can replace the map and the chip.
- Give each state one main action: pin, Show pass, Done.

**Picture:** Flow: 1. Pins and a list sheet. 2. The pin grows. One studio shows. 3. A full-screen pass, one action. Size pair (Phone, 375; Window, 1280): Map and chip stay fixed. The phone shows detail in a sheet. The window uses a side panel.

**See:** [4.5 Choose the container by task size](https://www.designguide.dev/r/choose-the-container-by-task-size.md)

## Navigation on a wide screen {#s4-5}

### 4.18 Show depth as a Back title or breadcrumb  {#show-depth-as-a-back-title-or-breadcrumb}

Default · Adapts

**Rule:** In a deep area, show the parent level as the Back title on a compact screen.

**Wide screen:** On a wide screen, show the full path as a breadcrumb, and fold the middle levels into a menu when long. (Triggers: Width 840+)

**Why:** The parent name says where Back goes. Rule [4.16](https://www.designguide.dev/r/show-where-the-person-is.md) holds on every size.  **When not:** An area of 1 or 2 levels needs no path.

- Make every level of the path a link, except the current page.
- Keep the first and the last level in view.

**Picture:** Size pair (Phone, 375; Window, 1280): The phone names the parent in the Back title. The window shows every level.

**See:** [4.16 Show where the person is](https://www.designguide.dev/r/show-where-the-person-is.md)

### 4.19 Group the sidebar and show counts  {#group-the-sidebar-and-show-counts}

Default · Desktop only

**Rule:** Group the destinations in a sidebar under short section labels, show counts only where they help, and allow a rail.

**Applies with:** Width 840+, Keyboard

**Why:** Groups make a long list easy to scan, and a count shows where work waits.

- Use up to 3 section labels of one word each.
- Keep the same order in the rail and the sidebar.
- Collapse by a visible control and by a key.

**Picture:** Do: Two short groups. A count shows where work waits. Don't: One flat list. Nothing shows where work waits.

### 4.20 Keep the top bar for search and account  {#keep-the-top-bar-for-search-and-account}

Default · Desktop only

**Rule:** Hold global search and the account menu in the top bar, and put page actions in the page toolbar.

**Applies with:** Width 840+, Fine pointer

**Why:** The top bar is the same on every page, so it holds only what is global.

- Keep the top bar to the product name, search, and account.
- Put New and Export in the toolbar of their page.

**Picture:** Do: The top bar holds search and account. The toolbar holds New order. Don't: Page actions sit in the top bar, far from the page.
