Information
Banner
View in FigmaA full-width notification bar for announcements, alerts, and system-level messages.
Feedback & StatusImport
import { Banner } from "@/components/ui"API
| Prop | Type | Default | Description |
|---|---|---|---|
| variant | "info" | "success" | "warning" | "error" | "info" | Color scheme and default icon. |
| title | string | — | Primary message text. |
| description | string | — | Secondary detail text. |
| action | ReactNode | — | Action button or link. |
| onDismiss | () => void | — | Shows dismiss button when provided. |
| icon | ReactNode | — | Custom icon (overrides default). |