Cookie consent
- from @knowns-ui
A consent banner with Accept all, Reject all and Customize, and a preferences dialog with categories (necessary locked on). Saves the choice, calls back, never blocks the page, and rejecting is as easy as accepting.
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 @knowns-ui/cookie-consentRegistry dependencies4
Packages0
No npm packages are installed with it.
