Blauhub cookie aims to be a modern DSGVO and TTDSG conform cookie banner. It is inspired by Cookie Consent.
- Minimal code size: less than 3kb minified and gzipped
- Customizeable
- SSR compatible and hooks
- Accessible
npm install blauhub-cookie
import { CookieConsent, Expander } from "blauhub-cookie";
import "blauhub-cookie/dist/bhcookie.min.css";
function Component() {
return (
<CookieConsent
onAcceptSelection={(permissions) => console.log(permissions)}
>
<p>Details of cookie settings can be viewed here</p>
<Expander id="functional" title="Text 1" isRequired>
<p>Detail Info</p>
</Expander>
</CookieConsent>
);
}
This publication is provided as is without any express or implied warranties. While every effort has been taken to ensure the accuracy of the information contained in this publication, the authors/maintainers/contributors assume no responsibility for errors or omissions, or for damages resulting from the use of the information contained herein.
Developed @ blauhub