1 GitHub star = 1 new component.

Overlays overlayscookiegdprprivacydrawer

Cookie Preferences Drawer

Slide-in drawer for managing granular cookie categories.

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/CookiePreferencesDrawer.astro:

Quick Info

Category
Overlays
Filename
CookiePreferencesDrawer.astro
Dependencies
None — pure Astro + CSS
Tags
overlayscookiegdprprivacydrawer