Naved

Illos Incident Banner

Component

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>
  );
}

More by Naved

View all
  • Illos Queue Empty State

    Illos Queue Empty State

    56
  • Illos AI Chat Empty State

    Illos AI Chat Empty State

    23
  • Illos Shader Feature Bento

    Illos Shader Feature Bento

    23
  • Illos Command Palette

    Illos Command Palette

    22
  • Illos Edge Hero

    Illos Edge Hero

    20
  • Illos Upload Dropzone

    Illos Upload Dropzone

    15
  • Illos Email Signup

    Illos Email Signup

    11
  • Illos Usage Pricing

    Illos Usage Pricing

    10

Explore more

Part of Illos — browse the full library on 21st.dev.