Cookie Consent Demo

Complete cookie consent with left-side settings panel, multi-tier management, and conditional script loading.

Features

Try It

Customization

All interface text and settings are centralized in the CONFIG object at the top of the JavaScript. To customize:

Try it now: Open the browser console and run:

// Enable debug logging
cookieConsent.updateConfig({ debug: true });

// Change the banner heading
cookieConsent.updateConfig({
  banner: { heading: 'Your custom heading!' }
});

// Change panel title
cookieConsent.updateConfig({
  panel: { heading: 'Cookie Settings' }
});

// View current config
cookieConsentConfig;

Privacy Policy

This is a demo page showcasing a WCAG AA accessible cookie consent library. For information about how this demo uses cookies, please refer to the cookie consent banner at the bottom of the page.