Bottom banner for optional (non-essential) cookie consent.

Behaviour

  • Renders nothing when config.cookies.nonEssentialEnabled is false (default)
  • Renders nothing when localStorage already has a choice under config.cookies.storageKey
  • Otherwise shows Accept / Reject and a link to config.cookies.policyPath

Essential cookies (session, CSRF) are never blocked by this component.

Mount

Wired once in ClientLayout (src/components/layouts/ClientLayout.tsx), used from the root layout so the banner is site-wide.

Related

  • Cookies extras — full SoT
  • src/features/cookies/prefs.tsgetCookiePrefs / writeCookiePrefs