Cookie Consent
feedbackGDPR-compliant cookie consent manager with categories and preferences.
Preview
No preview available
Check the code examples below.
Installation
npm install @launchapp/design-systemImport
import { CookieConsent } from "@launchapp/design-system";Examples
Cookie consent banner
<CookieConsent onAccept={(prefs) => console.log("accepted:", prefs)} onDeny={() => console.log("denied")}/>Props
| Prop | Type | Default | Description |
|---|---|---|---|
onAccept | (preferences: CookiePreferences) => void | — | Called when user saves preferences. |
onDeny | () => void | — | Called when user denies all. |