A simple, good looking cookie alert built for Bootstrap 3/4. No dependencies required.
Bootstrap-Cookie-Alert is a simple cookie alert designed for Bootstrap 5 and 4, with no dependencies required. It provides a straightforward way to inform users about the use of cookies on a website. The alert can be easily customized to match the website’s design.
npm i bootstrap-cookie-alert
cookiealert.css
after Bootstrap:<link href="path/to/cookiealert.css" rel="stylesheet">
<div class="cookiealert" role="alert">
<!-- Alert content goes here -->
</div>
<script src="path/to/cookiealert.js"></script>
Bootstrap-Cookie-Alert is a straightforward solution to comply with cookie notification requirements on websites. With its easy integration into Bootstrap projects, minimal setup, and customizable options, it provides a convenient way to inform users about the use of cookies. By following the simple installation guide and utilizing the provided features like the cookieAlertAccept event, website owners can ensure a user-friendly cookie notification experience.