Banner 4 – Announcement banner with primary and secondary actions
- from @shadcncraft
A horizontal announcement banner with an icon, single-line message, two clearly ranked actions, and a dismiss control. Designed to sit inline within a page and support quick decision-making without expanding vertically. Use when you need to promote an update or feature with both a soft action and a strong primary action.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @shadcncraft/banner-4Registry dependencies2
- button
- @shadcncraft/featured-icon
Packages0
No npm packages are installed with it.
