Blocking Consent Dialog
- from @7ovr
Modal cookie consent dialog over a dimmed page, blocking interaction until accept all, reject, or manage is chosen.
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/cookie-consent-4Registry dependencies2
- button
- dialog