Esta página ainda não está disponível em Português, por isso está a ler a versão em inglês.

Display modes: standalone, fullscreen, minimal-ui, window controls overlay and tabbed

How your app looks once it is installed, and how to detect it.

Manifesto do app web Intermediário 2 min de leitura Revisado em 27 de nov. de 2026

The display field in the manifest decides how much browser interface surrounds your installed app.

ModeWhat users seeTypical use
fullscreenNo browser UI and no status barGames, kiosks, media
standaloneIts own window, no address barMost apps
minimal-uiIts own window with a small set of browser controls (back, reload)Content apps that need navigation
browserA normal browser tabNot installable as an app

Browsers fall back along that list: if a mode is not supported, the next one down is used.

display_override

display_override is an ordered list of modes to try before display. It is how you opt in to newer modes without breaking older browsers:

"display": "standalone",
"display_override": ["window-controls-overlay", "tabbed", "standalone"]
  • window-controls-overlay (Chromium desktop): your content extends into the title bar area, and the window controls float over it. You draw your own title bar.
  • tabbed (Chromium desktop, experimental): the app window gets tabs.

Detecting the mode

CSS:

@media (display-mode: standalone) {
  .install-button { display: none; }
  .app-header { padding-top: env(safe-area-inset-top); }
}

JavaScript:

const installed = matchMedia('(display-mode: standalone)').matches
  || navigator.standalone === true; // older iOS
matchMedia('(display-mode: standalone)').addEventListener('change', (e) => {
  console.log('standalone now', e.matches);
});

See detect an installed PWA for analytics.

Designing for standalone

  • Navigation: without an address bar or back button (on iOS, for example), every page needs a way back. Breadcrumbs and a clear home link help.
  • Safe areas: add viewport-fit=cover to the viewport meta tag and pad with env(safe-area-inset-*) so content is not hidden behind notches and rounded corners.
  • External links: links outside your scope open in the browser automatically on most platforms. Mark them clearly.
  • Pull to refresh may not exist; offer a refresh where it matters.
  • Title bar colour comes from theme_color, or from <meta name="theme-color"> per page, which can even change with media="(prefers-color-scheme: dark)".

Window controls overlay in practice

.titlebar {
  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, 40px);
  -webkit-app-region: drag;
  app-region: drag;
}
.titlebar button { -webkit-app-region: no-drag; app-region: no-drag; }

More in desktop integration.

Compatibilidade de navegadores

Compatibilidade dos navegadores com recursos de PWA
RecursoChrome / Edge desktopChrome AndroidSafari iOS / iPadOSSafari macOSFirefox desktopFirefox AndroidSamsung Internet
Window controls overlay Chrome / Edge desktop: Sim Chrome Android: Não Safari iOS / iPadOS: Não Safari macOS: Não Firefox desktop: Não Firefox Android: Não Samsung Internet: Não
Web app manifest Chrome / Edge desktop: Sim Chrome Android: Sim Safari iOS / iPadOS: Parcial (Name, icons, display, scope, start_url, id; no shortcuts or screenshots) Safari macOS: Parcial (Used by Add to Dock (Safari 17+)) Firefox desktop: Parcial (Used by web apps on Windows (Firefox 143+)) Firefox Android: Parcial (Used by Add to Home screen) Samsung Internet: Sim

Ver a tabela completa