1 GitHub star = 1 new component.

Star the repo
Overlays cookielegaloverlay

Cookie Consent

Frosted glass cookie notice with accept and preferences actions.

Live Preview

Usage

Copy and paste this code into your Astro page:

Manual Installation

If you are not using the npm package, create a new file and paste the following code: src/components/lib/CookieConsent.astro:

Quick Info

Category
Overlays
Filename
CookieConsent.astro
Dependencies
None — pure Astro + CSS
Tags
cookielegaloverlay