v0.1 public beta early access on GitHub
Home / Components / offline-banner

Offline BanneriOS

Thin connectivity banner that slides down when offline with sync-status states and an optional retry button

$ npx lumioui add offline-banner
import { OfflineBanner } from "@/components/ui/offline-banner/offline-banner";
Offline Banneroffline-banner.tsx
offline-banner/offline-banner.tsx open

Live preview — the real component, driven by the props below.

Props5
offline boolean Show the banner.
onRetry? () => void Render a retry button; typically re-checks connectivity.
syncStatus? SyncStatus Post-reconnect sync state. Default "idle".
message? string Banner copy.
className? string
Offline Banneroffline-banner.tsx
offline-banner/offline-banner.tsx open

Thin connectivity banner that slides down when offline with sync-status states and an optional retry button