Banner Cookie Consent
A production-scale, light + dark Banner Cookie Consent component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add banner-cookie-consentLive preview available in the gallery.
Usage
import { BannerCookieConsent } from "@lerpa/ui";
<BannerCookieConsent />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| className | string | — | |
| defaultOpen | boolean | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.