Floating
- from @shadcn-ui-blocks
A banner that floats above page content with rounded corners and a dismiss button. Announce a promotion or update without pushing the layout down.
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 @shadcn-ui-blocks/marketing-announcement-banners-floatingRegistry dependencies0
The CLI adds no other registry items with this one.