Banner
stableA full-width, site-level announcement bar with variants, an optional action, and a dismiss button.
Basic usage
Examples
Variants
Each tone maps to a theme token; brand uses the primary fill.
Features
- Six tone variants including a brand fill.
- Optional leading icon and trailing action.
- Dismissible with an accessible close button.
- Spans edge-to-edge — distinct from the inline Callout.
Installation
bash
pnpm dlx structyl add bannerAPI Reference
Banner API reference
Full props, types, defaults.