Incident Banner

A full width Tailwind status bar announcing an outage with minor, major and critical severity colors, the incident title and a link to your status page.

src/registry/ui/incident-banner.tsx/r/incident-banner.json

Installation#

bash
npx shadcn@latest add @minidev/incident-banner

MiniDev UI is in the shadcn registry directory, so the short form works with no setup. Older CLI versions can use the full URL: npx shadcn@latest add https://ui.minidev.pro/r/incident-banner.json

Usage#

tsx
import { IncidentBanner } from "@/components/ui/incident-banner"

export function Example() {
  return (
    <IncidentBanner />
  )
}

API reference#

IncidentBanner props
PropTypeDefault
titlestring"Elevated API errors in us-east"
severity"minor" | "major" | "critical""major"
hrefstring"#"
classNamestring-

Dependencies#

npm

React only

Built from

Examples#

All alerts, toasts and empty states

Learn more