PWA
Progressive Web App helpers: online/offline status bar, install banner, update prompt, offline overlay, and cached indicator.
Online / Offline Status Bar
Preview
You are offline
Back online
Install Banner
Preview
Install My App
Add to home screen for a better experience
Update Available
Preview
A new version is available
Offline Overlay
Preview
Cached Indicator
Preview
Available offline
| Class | Description |
|---|---|
.pwa-status | Fixed top status bar (hidden by default) |
.pwa-status-visible | Show the status bar (slides down) |
.pwa-status-offline | Red/error background |
.pwa-status-online | Green/success background |
.pwa-install | Fixed bottom install banner (hidden by default) |
.pwa-install-visible | Show install banner (slides up) |
.pwa-install-content | Content flex container |
.pwa-install-icon | App icon (48px) |
.pwa-install-title | Bold app name |
.pwa-install-subtitle | Description text |
.pwa-install-actions | Button group |
.pwa-update | Floating update banner (hidden by default) |
.pwa-update-visible | Show update banner |
.pwa-update-btn | Semi-transparent action button |
.pwa-offline-overlay | Full-screen offline overlay (hidden by default) |
.pwa-offline-overlay-visible | Show overlay |
.pwa-cached | Inline cached/available-offline badge |
.pwa-install.glass | Glass morphism install banner |
.pwa-update.glass | Glass morphism update banner |