User Interface low complexity Shared Component frontend
1
Dependencies
1
Dependents
0
Entities
0
Integrations

Description

Site-wide consent banner displayed on first visit to the sales website. Blocks non-essential cookies until user grants consent per category (functional, analytics, marketing). Stores consent state in a first-party cookie and links directly to the Cookie Policy page. Compliant with the Norwegian ePrivacy Act and EU Cookie Directive.

Feature: Cookie Policy

cookie-consent-banner

Responsibilities

  • Block non-essential third-party scripts until category consent is granted
  • Persist consent choices in a strictly-necessary first-party cookie
  • Expose accept-all, reject-all, and per-category granular consent controls
  • Link to Cookie Policy page for full disclosure

Interfaces

CookieConsentBanner() => Widget
getConsentState() => ConsentState
setConsentState(state: ConsentState) => void
hasConsented(category: ConsentCategory) => boolean

Relationships

Dependencies (1)

Components this component depends on

Dependents (1)

Components that depend on this component