Cookie Consent Banner
feedbackSlim bottom banner for cookie consent with accept and customize options.
Preview
We value your privacy
We use cookies to enhance your browsing experience, serve personalised content, and analyse site traffic. Choose which cookies you accept below.
Installation
npm install @launchapp/design-systemImport
import { CookieConsentBanner } from "@launchapp/design-system";Examples
Slim banner
<CookieConsentBanner onAccept={() => console.log("accepted")} onCustomize={() => console.log("customize")}/>Props
| Prop | Type | Default | Description |
|---|---|---|---|
onAccept | () => void | — | Called when accepting all cookies. |
onCustomize | () => void | — | Called when user clicks to customize. |