Repository navigation
Open
Description
Checklist
Here's a potential checklist for the user/developer experience of the <install> button:
As a user…
- when I click the
<install>button in the browser and the app is not installed, it should install the app (either via a prompt, or directly, as Firefox does it when installed from the browser UI). - when I click the
<install>button in the browser and the app is already installed, it should invoke a reasonable action (e.g., launching the installed app or allowing to install the app again on WebKit, which intentionally allows multiple installs). - when I click the
<install>button in the installed app, it should invoke a reasonable action (e.g., uninstalling the app).
As a developer…
- when the app was successfully installed, I want to hide the install button (for example, via a media query or after an
installedevent was triggered,"installed"event would be needed #12). - when the app is launched in standalone mode, I want to hide the install button (for example, via a media query).
- I want to be able to feature-detect the possible "level" of installation (same-document, same-origin, cross-origin installs, see Simplify proposal #11 (comment)).
- I want to have control over the styling of the button as much as possible (Simplify proposal #11 (comment)).
UX/DX Comparison
For reference, here's my comparison sheet from TPAC regarding the different approaches:

Screen Recordings
The following recordings demonstrate the installation process across various platforms and browser engines. Additionally, they highlight where the browsing context is retained upon installation.
beforeinstallprompt (macOS, Chromium)
macOS.Chromium.beforeinstallprompt.mov
Installation (Android, Chrome)
Android.Chrome.mp4
Installation (Android, Edge)
Android.Edge.mp4
Installation (Android, Firefox)
Android.Firefox.mp4
Installation (iOS, Safari)
ScreenRecording_02-28-2026.16-43-39_1.MP4
Installation (iOS, Chrome)
ScreenRecording_02-28-2026.15-30-15_1.MP4
Installation (iOS, Edge)
ScreenRecording_02-28-2026.15-31-37_1.MP4
Installation (iOS, Firefox)
ScreenRecording_02-28-2026.15-29-12_1.MP4
Installation (macOS, Chromium)
macOS.Chromium.mov
Installation (macOS, Safari)
macOS.Safari.mov
Installation (Windows, Firefox)
Windows.Firefox.mov
Metadata
Metadata
Assignees
Labels
No labels
Activity
DanielHerr commentedon May 5, 2026
One important thing to note is that the states of "in the app" and "in the browser" are not necessarily exclusive. In particular, on Chrome OS, PWAs in display: browser mode appear on the shelf (taskbar) as a normal app, but also in a Chrome tab, so they have both states simultaneously.
Also, users can change the PWA from the default display mode to display: browser via the app menu. So web devs may not anticipate the actual usage situation. For example if hiding the install button is tied to a certain display mode like standalone, the button would still appear if the user chooses display browser, even though the user is already using the installed app.
So all these features related to installation should please consider that.