# Marketing Cookie Consent

Cookie consent banner with accept all, reject all and customize preferences.

- id: `marketing-cookie-consent`
- Page: https://agentic-ui-kit.com/components/marketing-cookie-consent
- Live preview: https://agentic-ui-kit.com/live/component/marketing-cookie-consent?piece=marketing-cookie-consent

## Install

```bash
agentic-ui add marketing-cookie-consent
npx shadcn@4.17.0 add @agentic-ui/marketing-cookie-consent
```

## Metadata

- **Level:** block
- **Category:** block
- **Installable in:** Radix UI (registry variant new-york), Base UI (registry variant base-vega)
- **Capabilities:** cookie-banner, equal-weight-choices, category-switches, opt-in-default, versioned-persistence, floating-or-inline, saved-state, dark-mode
- **Intents:** configure, communicate
- **Suits domains:** marketing, saas, ecommerce, fintech, healthcare
- **Interaction:** click, toggle
- **Screen role:** flow
- **Density:** comfortable
- **Dark mode:** yes
- **Use it for:** cookie consent banner with accept all, reject all and customize preferences, GDPR cookie notice with analytics and marketing toggles, privacy consent popup at the bottom of a marketing website
- **Avoid when:** account privacy settings pages (use a settings block), a legal review has not approved the categories and copy, announcements or promotions (use marketing-announcement-bar)
- **Preserve when adapting:** equal-weight-choices, opt-in-default
- **Replace when adapting:** categories, copy, policy-link, storage-key
- **Adaptation effort:** low
- **Coupling:** low
- **Quality breakdown:** visual 9/10, responsive 9/10, accessibility 9/10, code 9/10
- **Uses primitives:** button
- **npm dependencies:** lucide-react
- **npm dependencies (registry):** lucide-react@0.577.0
- **Registry dependencies:** lib-primitives
