Banner 5 – Consent banner with action group
- from @shadcncraft
A horizontal banner with an icon, short explanatory text, and a grouped set of actions including primary, secondary, and tertiary options, plus a dismiss control. Designed to sit inline or at page edges without dominating the layout. Use for consent, permissions, or policy-related prompts that require a clear choice hierarchy.
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-5Registry dependencies2
- button
- @shadcncraft/featured-icon
Packages0
No npm packages are installed with it.
