067
A dismissible status banner that moves through investigating, identified, monitoring and resolved: its colour, icon and progress track change with each update, and the timeline unfolds underneath.
akaincident·status·banner
Run this in any project set up for the shadcn CLI. It copies the Incident Banner source into your components folder, so the code is yours to change.
npx shadcn@latest add https://devl.dev/r/incident-banner.jsonImport it and render it. Every prop has a typed default, so it works straight away, and you pass your own data when you’re ready.
import { IncidentBanner } from "@/components/incident-banner";
export default function Page() {
return <IncidentBanner />;
}A free React component in the Status collection, written in TypeScript with Tailwind CSS on coss ui. MIT licensed.
Read from the Incident Banner source. Everything is optional unless it says required.
| Prop | Type | Default |
|---|---|---|
| titlerequired | string | — |
| updatesrequired | IncidentUpdate[] | — |
| affected | string[] | [] |
| timezone | string | "UTC" |
| defaultExpanded | boolean | false |
| dismissible | boolean | true |
| onDismiss | () => void | — |
| action | ReactNode | — |
| className | string | — |