All projects · UI Components & Interactions
ConsentFlow — Privacy Control Center
A GDPR-style cookie and data-consent management center that lets users toggle five preference categories independently, with Essential locked on…
A GDPR-style cookie and data-consent management center that lets users toggle five preference categories independently, with Essential locked on as required. Choices persist across sessions in localStorage and a live status card mirrors the enabled/disabled state.
- Required 'Essential' category that can never be switched off, even when persisted
- Accept All / Reject All / Reset bulk actions
- localStorage persistence with a versioned storage key
- Expandable category descriptions and a live enabled/disabled status panel
Built with: Vanilla JavaScript, localStorage persistence, CSS custom properties, ARIA switch roles / keyboard support, Google Fonts (Sora/Outfit), Inline SVG icons