# tabbed display mode and tab_strip manifest member

> The tabbed display_override value gives an installed PWA its own tab strip, and the tab_strip member configures its pinned home tab and new-tab button.

The `tabbed` display mode adds a tab strip to an installed app's window. Users can keep
several in-scope pages open side by side without the browser's address bar.
Request it with `display_override`; `display` does not accept it. The companion
`tab_strip` member configures the strip, including a pinned home tab with its own URL scope and the URL
the new-tab button opens.

BCD (`manifests.webapp.display_override.tabbed`) lists Chrome 126, Edge 126, and Samsung Internet
28.0 as recognising the value. The Chrome for Developers page records the launch as completed on
ChromeOS and demonstrates the feature only there, so treat other platforms as unconfirmed. Firefox
157 and Safari 27 skip the entry, as does Android WebView, and use the next `display_override`
value or `display`.

## Member

| Property | Value |
|---|---|
| Type | `"tabbed"` is a string inside the `display_override` array. `tab_strip` is an object with two optional keys: `home_tab` (an object with `scope_patterns`, an array of URL pattern objects resolved against the manifest URL; leaving `home_tab` out means no home tab) and `new_tab_button` (an object with `url`, resolved against the manifest URL; a missing or out-of-scope `url` falls back to `start_url`). |
| Default | without `tab_strip` the app behaves as `{ "tab_strip": { "new_tab_button": { "url": "<start_url>" } } }` and has no home tab. `tab_strip` is ignored unless the resolved display mode is `tabbed`. |
| Example value | `"display_override": ["tabbed"]` with `"tab_strip": { "home_tab": { "scope_patterns": [{ "pathname": "/dashboard/*" }] }, "new_tab_button": { "url": "/new" } }`. |

The home tab stays pinned. A navigation from the home tab to a URL outside its
`scope_patterns` opens a new app tab, and a navigation from another tab to a URL inside them
focuses the home tab and loads there. `start_url` always belongs to the home tab's scope. When
`home_tab` is present but `scope_patterns` is absent, the home tab's scope is `start_url` alone.
The explainer lists a home tab `url` and `icons` as possible future additions, so neither is
part of the member. The new-tab
button is only rendered when its `url` falls outside the home tab's scope; a `url` inside it
hides the button, because the home tab already covers that destination (WICG explainer).

:::note
`matchMedia('(display-mode: tabbed)').matches` is the documented way to detect the mode (Chrome for
Developers; MDN, `display-mode`). In a browser that does not recognise `tabbed`, such as Chrome 125
(BCD records support from 126), the override is skipped and the app launches in the mode named by
`display`.
:::

## Examples

The three manifests describe the same project-management app with a dashboard at
`/dashboard/` and per-project pages at `/projects/<id>/`.

### Opting in with a standalone fallback

`tabbed` goes first in `display_override`; `display` stays `standalone`, so browsers that skip
`tabbed` (Chrome 125, Firefox, Safari) fall back to the standalone mode that `display` asks for.
Nothing else is required to get the strip, because `tabbed` supplies it; the default `tab_strip`
only makes the new-tab button open `start_url`.

```json
{
  "start_url": "/dashboard/",
  "scope": "/",
  "display": "standalone",
  "display_override": ["tabbed"]
}
```

This manifest has no `home_tab`, so no navigation is captured: a link to a project page loads in
the current tab as usual, the new-tab button opens `/dashboard/`, and the dashboard is a tab like
any other, closable like the rest.

### Pinning the dashboard as the home tab

Adding `home_tab` turns the dashboard into a pinned first tab that stays open. A navigation to
`/dashboard/` from another tab focuses it and loads there, and a navigation from it to any other
URL opens a new tab. The new-tab button points at `/projects/new`,
which is outside the home tab's patterns, so the button is shown.

```json
{
  "start_url": "/dashboard/",
  "scope": "/",
  "display": "standalone",
  "display_override": ["tabbed"],
  "tab_strip": {
    "home_tab": {
      "scope_patterns": [{ "pathname": "/dashboard/*" }]
    },
    "new_tab_button": { "url": "/projects/new" }
  }
}
```

Pointing `new_tab_button.url` at `/dashboard/` instead would hide the button, since that
destination is already the home tab.

### Adapting navigation to the mode the browser chose

A tabbed app can let the OS tab strip replace an in-page tab bar, but only when the mode was
granted. The check runs at startup and again on change, because the display mode can change while the
page is open.

```js
const tabbed = matchMedia('(display-mode: tabbed)');

function applyMode(active) {
  document.documentElement.dataset.nav = active ? 'os-tabs' : 'in-page';
}

applyMode(tabbed.matches);
tabbed.addEventListener('change', (event) => applyMode(event.matches));
```

With `data-nav="in-page"` the app renders its own tab bar; with `os-tabs` it hides that bar
and leaves the open pages to the OS tab strip.

## See also

- [display_override manifest member](/reference/manifest/display-override/)
- [display manifest member](/reference/manifest/display/)
- [Desktop PWA installation: Chrome, Edge, and beyond](/reference/installation/desktop-install/)
- [Manifest Incubations: tabbed application mode explainer](https://wicg.github.io/manifest-incubations/tabbed-mode-explainer.html) (wicg.github.io)
- [Tabbed application mode for PWAs](https://developer.chrome.com/docs/capabilities/tabbed-application-mode) (developer.chrome.com)