PWA Demo

PWA Showcase

Explore Progressive Web App capabilities

Installable

This app can be installed on your device for a native-like experience.

Checking install support...

Service Worker

A service worker manages caching and enables offline functionality.

Checking...

Offline Ready

The app shell and cached data are available without a network connection.

Checking...

Device APIs

Access camera, geolocation, device orientation, and the Share API.

Navigate tabs to try demos

Offline Support

This app works even without an internet connection

Network Status

Online

Try toggling your network off in DevTools (Network tab → Offline) to see the offline banner and experience the cached app shell.

Cached Resources

The service worker caches the app shell on first load. These strategies are used:

  • Cache-first — App shell & static assets
  • Network-first — API / dynamic data
  • Stale-while-revalidate — Images
  • Offline fallback — Uncached navigation requests

Notifications

Send local push notifications from the browser

Permission Status

Checking...

Send a Notification

Camera

Access device camera via getUserMedia

Geolocation

Access device location and orientation

Current Position

Device Orientation

Tilt your device to see accelerometer data (mobile only).

Share API

Use the native share dialog to share content

Share This App

Use the Web Share API to share a link using your device's native share sheet.

Share Custom Text

Background Sync

Queue actions while offline and sync when back online

Submit a Message

This form simulates an API submission. If you're offline, the message is queued in IndexedDB and synced when connectivity returns.

Sync Queue

Messages waiting to be synced:

No items in queue.