Manifest member in Manifest
screenshots manifest member
Published Updated
The screenshots manifest member lets you supply an array of images showing the app in use. Browsers with a richer
install dialog render them as a carousel next to the description; app stores that package web
apps copy them into the listing. Without the member the install prompt is the compact one with
icon, name, and origin only.
Chrome 94 on Android and Chrome 108 on desktop read the member and switch to the richer dialog
when at least one screenshot fits the device (Richer PWA installation and
Richer install UI on desktop, developer.chrome.com). MDN treats the member as app-store metadata to which browser compatibility does not
apply, and browser-compat-data’s manifests/webapp directory has no
screenshots entry.
Member
Section titled “Member”| Property | Value |
|---|---|
| Type | Array of image-resource objects. Each has src (URL, resolved against the manifest), sizes (WIDTHxHEIGHT in pixels), optional type (image/png, image/jpeg, image/webp), optional form_factor ("wide" for desktop and landscape tablets, "narrow" for phones), an optional label read by assistive technology, and an optional platform hint for stores. |
| Default | An empty array; the browser shows its compact install prompt. |
For example, [{ "src": "/shots/home.png", "sizes": "1080x1920", "type": "image/png", "form_factor": "narrow", "label": "Today's tasks" }].
Chromium applies limits per form factor. The desktop dialog takes screenshots tagged wide, at
most 8; the Android dialog takes screenshots tagged narrow or untagged, at most 5. Each
screenshot must be between 320 and 3840 pixels on each side and keep the aspect ratio of the first
screenshot with the same form_factor, or it is skipped. A sizes value that does not match the
decoded image is also skipped. The desktop dialog only appears when a wide screenshot exists, so
a manifest with only phone screenshots keeps the compact prompt on Windows and macOS.
Screenshots are fetched when the install dialog opens, not at page load, so their weight does not touch the page’s loading metrics; they do need to be served with the same caching discipline as icons because Chrome does not re-fetch them until the next manifest update.
Examples
Section titled “Examples”One wide and two narrow screenshots satisfy both Chromium dialogs. The wide image keeps a
16:10 ratio and the two narrow images share 9:19.5, which is the same-ratio rule applied per
form factor.
Serving both the desktop and the phone dialog
Section titled “Serving both the desktop and the phone dialog”{ "screenshots": [ { "src": "/shots/desktop-overview.png", "sizes": "1280x800", "type": "image/png", "form_factor": "wide", "label": "Dashboard with the week's totals and a chart of spending by category" }, { "src": "/shots/phone-today.png", "sizes": "1080x2340", "type": "image/png", "form_factor": "narrow", "label": "Today view listing three open tasks" }, { "src": "/shots/phone-add.png", "sizes": "1080x2340", "type": "image/png", "form_factor": "narrow", "label": "Add-task sheet with amount and category fields" } ]}Order matters within a form factor: the first entry fixes the aspect ratio the others must match, and it is the one shown before the user scrolls.
Writing labels that stand in for the image
Section titled “Writing labels that stand in for the image”label is the only text a screen reader gets for a screenshot, and stores reuse it as a caption.
Describe what the screen shows, not the fact that it is a screenshot.
{ "screenshots": [ { "src": "/shots/phone-map.webp", "sizes": "1170x2532", "type": "image/webp", "form_factor": "narrow", "label": "Map of the route from Oslo to Bergen with the next stop highlighted" } ]}A label such as "Screenshot 1" passes validation and tells the user nothing; Chrome reads the
string verbatim.
Mirroring the screenshots in a custom install button
Section titled “Mirroring the screenshots in a custom install button”Nothing at runtime reports whether the browser rendered the richer dialog. What a page can do is
defer the prompt with beforeinstallprompt and show its own preview using the same images, then
call prompt() so the browser’s dialog (richer or compact) follows. Browsers without the event
take the fallback branch and show nothing.
let deferredPrompt = null;
window.addEventListener('beforeinstallprompt', (event) => { event.preventDefault(); deferredPrompt = event; document.querySelector('#install').hidden = false; // the button shows the same /shots/ images});
document.querySelector('#install').addEventListener('click', async () => { if (!deferredPrompt) return; // Safari, Firefox: no prompt to show, leave the button hidden deferredPrompt.prompt(); const { outcome } = await deferredPrompt.userChoice; deferredPrompt = null; console.log(`install ${outcome}`); // "accepted" or "dismissed"});Reuse the manifest’s /shots/ files in the button’s preview so the
preview and the browser dialog stay in step.
See also
Section titled “See also”- description manifest member
- icons manifest member
- Richer install UI: enriching the install prompt with description and screenshots
- beforeinstallprompt and custom install prompts
- Web App Manifest - Application Information: screenshots member (w3.org)
- Richer install UI available for desktop (developer.chrome.com)
Specifications
| Specification | Status |
|---|---|
| Web App Manifest: screenshots | W3C |
- Legend
- Yes
- Partial
- Flag
- No
- Unknown
| Browser / Platform | Support | Versions | Confidence | Source | Notes |
|---|---|---|---|---|---|
| Chrome (Android)# | Yes | 94 | medium | source | 1 |
| Chrome (Desktop)# | Yes | 108 | medium | source | 2 |
| Edge (Desktop)# | Unknown | — | medium | source | 3 |
| Safari (iOS)# | Unknown | — | medium | source | 4 |
| Safari (macOS)# | Unknown | — | medium | source | 5 |
| Firefox (Desktop)# | Unknown | — | medium | source | 6 |
| Samsung Internet# | Unknown | — | medium | source | 7 |
- Chrome documents the Richer Install UI, a bottom sheet that shows the manifest `description` and `screenshots`, from Chrome 94 on Android. A page without at least one screenshot keeps the older prompt.
- Chrome documents the Richer Install UI from Chrome 108 on desktop; it needs at least one screenshot for the matching form factor.
- Microsoft's Edge PWA documentation does not say whether Edge's install dialog shows manifest screenshots (checked 2026-10-20).
- Apple does not document any use of `screenshots`. MDN says browser compatibility does not apply to this member because app stores and distribution platforms, not browsers, use it (checked 2026-10-20).
- Apple does not document any use of `screenshots`. MDN says browser compatibility does not apply to this member because app stores and distribution platforms, not browsers, use it (checked 2026-10-20).
- Mozilla does not document any use of `screenshots`; Firefox taskbar web apps are pinned from the address bar, with no install dialog. MDN says browser compatibility does not apply to this member (checked 2026-10-20).
- Samsung's Internet developer pages do not document use of the `screenshots` member (checked 2026-10-20).
Ecosystem & commercial policy
| Entity | Type | Context | Status | Sponsored | Notes |
|---|---|---|---|---|---|
| Google Play (TWA)# | store_policy | Google Play TWA | Yes | No | Store listing screenshots are managed in Play Console, separate from the manifest member. |
Cite this table
Web App Manifest: screenshots compatibility data — OpenPWA · Verified 2026-10-20 · CC BY 4.0 · JSON
When reusing compatibility data, keep the attribution, identify your changes and check each row’s original source. This citation excludes market-share and reach figures, which use CC BY-SA 4.0.