GitHub

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
App icon
Install My App
Add to home screen for a better experience

Update Available

Preview
A new version is available

Offline Overlay

Preview
No Internet Connection
Check your network settings and try again

Cached Indicator

Preview
Available offline
ClassDescription
.pwa-statusFixed top status bar (hidden by default)
.pwa-status-visibleShow the status bar (slides down)
.pwa-status-offlineRed/error background
.pwa-status-onlineGreen/success background
.pwa-installFixed bottom install banner (hidden by default)
.pwa-install-visibleShow install banner (slides up)
.pwa-install-contentContent flex container
.pwa-install-iconApp icon (48px)
.pwa-install-titleBold app name
.pwa-install-subtitleDescription text
.pwa-install-actionsButton group
.pwa-updateFloating update banner (hidden by default)
.pwa-update-visibleShow update banner
.pwa-update-btnSemi-transparent action button
.pwa-offline-overlayFull-screen offline overlay (hidden by default)
.pwa-offline-overlay-visibleShow overlay
.pwa-cachedInline cached/available-offline badge
.pwa-install.glassGlass morphism install banner
.pwa-update.glassGlass morphism update banner