About
A full-width amber status banner that tells users the app is offline, with a Wi-Fi-off icon, a note that changes will sync later, and an optional Retry button.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Offline Banner to your project and fits it to your theme.
Code
How Offline Banner is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
import * as React from "react";
import { OfflineBanner } from "@/components/ui/offline-banner";
export default function OfflineBannerDemo() {
return (
<div className="w-full max-w-2xl mx-auto">
<OfflineBanner onRetry={() => {}} />
</div>
);
}







