Cookie Notice

A small card in the corner about essential cookies, with a "Learn more" link and a "Got it" button; the choice is kept in a cookie.

A block from @tectra-ng/blocks — it comes with tectra-ng, or alone: npm install @tectra-ng/blocks.

Features3APIThemingAccessibility

Basic

The translated texts and a link to the privacy page. "Got it" hides the notice and keeps that in a cookie; show() brings it back. Here the frame plays the window.

Own texts

Own title, text, icon, button and link texts; href for a link outside the app. Each notice keeps its choice under its own cookieName.

Design tokens

dt changes the tokens of one notice: here wider, solid, with a filled icon.