Announcement banner
adire/announcement-bannerUnverifiedComponent
Site-wide notice bar — the first thing on the page, above the header or hero and in normal flow, never over the content. Full-bleed and square so it meets the viewport edges, rendered as a named aside. Text and one action is the whole shape: `href` and `action` are mutually exclusive at the type level, since a button inside an anchor is invalid HTML. `backgroundImage` adds a photo with a scrim and light text. Dismissal is a callback and `open` is the whole state — decide it server-side from a cookie so a dismissed bar never flashes.
Install it
npx shadcn@latest add https://raw.githubusercontent.com/Timonwa/adire-ui/main/r/announcement-banner.jsonThis registry does not serve an item endpoint we could read, so we hold its metadata but not its source.
What it pulls in
Other registry items
Files it writes
More from adire
All 97 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Accordionaccordion | adire | Components | Unverified | no deps | |
| Alertalert | adire | Components | Unverified | no deps | |
| Avataravatar | adire | Components | Unverified | no deps | |
| Avatar groupavatar-group | adire | Components | Unverified | no deps | |
| Badgebadge | adire | Components | Unverified | no deps | |
| Breadcrumbsbreadcrumbs | adire | Components | Unverified | no deps | |
| Bullet listbullet-list | adire | Components | Unverified | no deps | |
| Busy overlay (shared)busy-shared | adire | Components | Unverified | no deps |
