Banner 2 – Dismissible signup card
- from @shadcncraft
A compact banner presented as a card with icon, short message, input field, and primary action, plus a close control. Designed to float within a layout or sit near content without spanning full width. Use when you want a more prominent call to action than an inline banner, but still lightweight and dismissible.
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-2Registry dependencies3
- button
- input
- @shadcncraft/featured-icon
Packages0
No npm packages are installed with it.
