Cookie Consent

feedback

GDPR-compliant cookie consent manager with categories and preferences.

Preview

No preview available

Check the code examples below.

Installation

npm install @launchapp/design-system
Import
import { CookieConsent } from "@launchapp/design-system";

Examples

Cookie consent banner

<CookieConsent  onAccept={(prefs) => console.log("accepted:", prefs)}  onDeny={() => console.log("denied")}/>

Props

PropTypeDefaultDescription
onAccept
(preferences: CookiePreferences) => voidCalled when user saves preferences.
onDeny
() => voidCalled when user denies all.