Persisted Dismissible Banner
- from @7ovr
Single-line announcement banner that remembers its dismissal in localStorage over a page placeholder, with a link to show it again.
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 @7ovr/announcement-3Registry dependencies1
- button