# display_override manifest member

> display_override lists display modes in priority order ahead of the display fallback chain, so a PWA can request window-controls-overlay or tabbed.

The **`display_override`** manifest member is an ordered list of display modes that the
browser tries before it reads `display`. Use it to request `window-controls-overlay` or
`tabbed`: `display` takes a single value from the fixed fallback chain `fullscreen` →
`standalone` → `minimal-ui` → `browser` and cannot name either mode. Browsers that skip
`display_override` use `display` instead.

Chrome 89, Edge 89, and Samsung Internet 15.0 process the member (BCD
`manifests.webapp.display_override`). Firefox 157 and Safari 27 ignore it and apply `display`
alone, and Android WebView does not read it at all.

## Member

| Property | Value |
|---|---|
| Type | Array of strings or objects |
| Values | `fullscreen`, `standalone`, `minimal-ui`, `browser`, `window-controls-overlay`, `tabbed`. Chromium also recognizes `unframed` (formerly `borderless`), which only applies to Isolated Web Apps on ChromeOS. |
| Default | Empty array. With no `display_override`, the browser uses `display`. |
| Example | `["window-controls-overlay", "minimal-ui"]` |

An entry may also be an object, such as `{ "display": "unframed", "url_patterns": [...] }`. The
Manifest Incubations spec calls this a `DisplayOverrideEntryObject`. It contains a `display` string and an
optional `url_patterns` list that limits the mode to matching URLs. Chromium accepts
`url_patterns` only on `unframed` and ignores an object on any other mode whose
`url_patterns` parse to at least one pattern.

The browser follows the Manifest Incubations processing algorithm (wicg.github.io). It drops
any string that is not a display mode, then takes the first remaining mode it supports. Only
when nothing in the list is supported does it fall back to `display` and that member's own
chain.

An entry the browser does not recognize is skipped, so a browser without
`window-controls-overlay` moves on to the next entry. The list has no implicit chain of its
own: `["fullscreen"]` does not fall through to `standalone` the way `display: "fullscreen"`
does, and the chain resumes only after the browser drops to `display`.

Chromium's installability check reads the member too. It accepts a manifest whose `display` is
`browser` if the first supported `display_override` entry is app-like; when it is not, DevTools
reports `Manifest contains 'display_override' field, and the first
supported display mode must be one of 'standalone', 'fullscreen', or 'minimal-ui'`
(`components/webapps/browser/installable/installable_logging.cc`).

:::note
DevTools > Application > Manifest has a **Window Controls Overlay** section (devtools-frontend,
`AppManifestView.ts`). With `"display_override": ["window-controls-overlay"]` in the manifest it
reports that Chrome found the value and offers a checkbox to emulate the overlay with a
Windows / macOS / Linux selector. Without the value it tells you to define `display-override`
in the manifest to use the Window Controls Overlay API. The wording changes between DevTools
releases.
:::

## Examples

Both example manifests keep `display: "standalone"` as the fallback and differ in the mode they
ask for first.

### Requesting the title-bar overlay with a standalone fallback

A desktop app that draws its own toolbar asks for `window-controls-overlay` first and names
`minimal-ui` as an explicit second choice. `display` stays `standalone` so Firefox and Safari,
which skip the member, still ask for a standalone window.

```json
{
  "name": "Ledger",
  "start_url": "/app/",
  "scope": "/app/",
  "display": "standalone",
  "display_override": ["window-controls-overlay", "minimal-ui"]
}
```

On Windows and macOS the web content now extends into the title-bar strip and the close,
minimize, and maximize buttons are drawn over it, so the page must reserve that area.

### Laying out around the overlay and detecting it at runtime

The `titlebar-area-*` environment variables describe the rectangle the overlay leaves free;
Chromium removes them when no overlay is visible, so `env()` falls back to the value you
pass as its second argument, which keeps the same CSS safe in a plain standalone window. The script checks `navigator.windowControlsOverlay` and the
`display-mode` media feature (MDN, `@media (display-mode)`) and falls back to a normal header.

```css
.toolbar {
  position: fixed;
  left: env(titlebar-area-x, 0);
  top: env(titlebar-area-y, 0);
  width: env(titlebar-area-width, 100%);
  height: env(titlebar-area-height, 48px);
  -webkit-app-region: drag;
}
```

```js
const overlay = navigator.windowControlsOverlay;
const inOverlay =
  overlay?.visible === true ||
  matchMedia('(display-mode: window-controls-overlay)').matches;

document.documentElement.dataset.titlebar = inOverlay ? 'overlay' : 'standard';

overlay?.addEventListener('geometrychange', (event) => {
  // The overlay can be toggled off by the user from the title bar; relayout.
  document.documentElement.dataset.titlebar = event.visible ? 'overlay' : 'standard';
});
```

`overlay.visible` is `false` whenever the overlay is hidden. The `geometrychange` listener
picks up each change and updates the layout.

### Trying `tabbed` without losing older Chromium builds

An installed app that wants an in-window tab strip lists `tabbed` first. BCD records support from Chrome 126, Edge
126, and Samsung Internet 28.0; Chrome 125 and earlier skip the entry and use the
next one.

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

The trailing `"standalone"` repeats `display` and documents the intent. Removing it changes
nothing, because the browser falls back to `display` automatically.

## See also

- [display manifest member](/reference/manifest/display/)
- [tabbed display mode and tab_strip manifest member](/reference/manifest/tabbed-display/)
- [Installability criteria: what makes a PWA installable](/reference/installation/installability-criteria/)
- [Desktop PWA installation: Chrome, Edge, and beyond](/reference/installation/desktop-install/)
- [Manifest Incubations: display_override member](https://wicg.github.io/manifest-incubations/#display_override-member) (wicg.github.io)
- [Window Controls Overlay API](https://developer.mozilla.org/en-US/docs/Web/API/Window_Controls_Overlay_API) (developer.mozilla.org)
- [Customize the window controls overlay of your PWA's title bar](https://web.dev/articles/window-controls-overlay) (web.dev)