30 lines
672 B
Markdown
30 lines
672 B
Markdown
# @probo/cookie-banner
|
|
|
|
A lightweight, GDPR-compliant cookie consent banner for the web. Works with any framework or plain HTML — zero dependencies, powered by Web Components.
|
|
|
|
## Installation
|
|
|
|
```bash
|
|
npm install @probo/cookie-banner
|
|
```
|
|
|
|
Or drop a single `<script>` tag — no bundler required:
|
|
|
|
```html
|
|
<script
|
|
src="https://unpkg.com/@probo/cookie-banner/dist/cookie-banner.iife.js"
|
|
data-banner-id="YOUR_BANNER_ID"
|
|
data-base-url="BASE_URL"
|
|
></script>
|
|
```
|
|
|
|
## Documentation
|
|
|
|
Full documentation — including theming, headless components, and script blocking — is available at:
|
|
|
|
**https://www.getprobo.com/docs/product/cookie-banner/overview**
|
|
|
|
## License
|
|
|
|
MIT
|