About
Incident banner that opens to a timeline of updates and an email subscribe form, beside an animated HUD incident timeline illustration from Illos. Light and dark with your theme tokens. Code is MIT; the illustration is under the Illos free license (illos.dev/license).
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Illos Incident Banner to your project and fits it to your theme.
Code
How Illos Incident Banner is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { useState } from "react";
import { IllosIncidentBanner } from "@/components/ui/illos-incident-banner";
export default function Demo() {
const [shown, setShown] = useState(true);
return (
<div className="flex min-h-[720px] w-full items-center justify-center bg-background p-4 sm:p-6">
{shown ? (
<IllosIncidentBanner
defaultOpen
onDismiss={() => setShown(false)}
onSubscribe={() => new Promise((resolve) => setTimeout(resolve, 800))}
/>
) : (
<button
type="button"
onClick={() => setShown(true)}
className="h-9 rounded-lg px-4 text-sm font-medium text-foreground shadow-[inset_0_0_0_1px_var(--color-border)] hover:bg-muted focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring"
>
Show the banner again
</button>
)}
</div>
);
}








