ZENTU · WIDGET #118

A clear banner, a real preference center, cookie details, script & embed blocking and Google Consent Mode v2 — in 8 layouts and 8 skins.

8 layouts8 skinsopt-in · opt-out · noticepreference centercookie detailsscript & embed blockingGoogle Consent Mode v2Global Privacy Control

Try it: click “Customize”, open “Cookies (2)” under Analytics, then save — choices in these previews are not stored.

Northwind Goods is a fictional shop. This page also has a real banner in the bottom-left corner — that one is saved.

NEWS SITE · BOTTOM BAR

Readers see the headline right away. Accept and reject have the same weight — the way many European regulators ask for.

bottom bardark skinequal buttonsfade in

The Daily Ledger is a fictional publication.

SAAS APP · SIDE DRAWER

The drawer slides in with every category visible and a list of real cookie names, providers and expiry — useful for B2B buyers and security reviews. Google Consent Mode signals are sent on save.

side drawercorporate skinshield iconcookie detailsConsent Mode v2

Metricly is a fictional product.

BAKERY · CENTER MODAL

The playful skin with the big cookie illustration — press “Yes please” and watch it get eaten. The modal must be answered before the page is used.

center modalplayful skincookie illustrationpop entrance

Crumb & Co. is a fictional bakery.

PERSONAL BLOG · NOTICE ONLY

If a site uses only essential cookies and cookieless stats, a simple notice is enough. The floating pill says so in one line and disappears on “Got it”.

floating pillminimal skinnotice modeone button

Slow Trains Journal is a fictional blog.

US ONLINE SHOP · OPT-OUT (CCPA)

Opt-out mode starts with categories switched on and makes “Do not sell or share” easy to find. If the browser sends a Global Privacy Control signal, Marketing starts switched off.

top bargradient skinopt-out modeGPC aware

Pacific Outfitters is a fictional shop. This is a design example, not legal advice.

DESIGN STUDIO · BOTTOM SHEET

The bottom sheet shows the message on the left and all categories on the right — no extra click needed. Bold outline skin with checkbox toggles.

bottom sheetbold outline skincheckboxescategories visible

Studio Nine is a fictional studio.

TWO MORE LOOKS

Glass card in the right corner with a close button (closing counts as “reject”), and a dark modal with checkbox toggles and a bounce entrance.

glasscorner card right× closedark modalbounce

Lumen Films and Nightowl are fictional.

PRIVACY POLICY PAGE · INLINE

Put the preference center right inside your privacy page. It shows what the visitor chose before and saves for real — it is linked to the banner on this page.

inline displayreal savingcurrent choices shown

Any link to #cookie-settings (or with class ukckb-open) also opens the banner's settings.

Open cookie settings →

BLOCKED EMBEDS

Mark an iframe with data-ukconsent and data-src. Until the visitor allows that category, a friendly placeholder is shown instead — with a one-click “Allow & load”.

iframe blockingplaceholderone-click allowscript blocking

The map comes from Google and loads only after Marketing cookies are allowed.

FOR DEVELOPERS

Three small hooks cover most sites. With Consent Mode switched on, gtag('consent', …) is called for you.

data-ukconsentJS APIultrakit:consent eventdataLayer event
<!-- 1. Hold a script until 'analytics' is allowed -->
<script type="text/plain" data-ukconsent="analytics">
  /* your analytics snippet */
</script>

<!-- 2. Hold an embed until 'marketing' is allowed -->
<iframe data-ukconsent="marketing" data-src="https://…"></iframe>

// 3. Ask or react in JavaScript
ultrakitConsent.has('analytics');   // true / false
ultrakitConsent.open();             // open the settings
window.addEventListener('ultrakit:consent', e => console.log(e.detail));
BUILT IN

Honest defaults, clear choices, easy for developers.

layoutsskinsblockingsignals
🧩
8 layouts
Corner cards, bottom & top bars, center modal, side drawer, floating pill and bottom sheet.
🎨
8 skins
Light, dark, glass, gradient, bold outline, minimal, playful and corporate.
⚖️
3 consent models
Opt-in for GDPR, opt-out for CCPA-style notices, or a single “Got it”.
📋
Cookie details
List each cookie’s name, provider, purpose and expiry under its category.
🚦
Script & embed blocking
Scripts and iframes wait for consent, with a friendly placeholder.
📡
Consent Mode v2
Sends Google’s ad_storage, analytics_storage, ad_user_data & ad_personalization.
🔁
Re-ask on change
Change the policy version and everyone is asked again.
🖥️
Stage preview
Show the banner inside a mock website — great for client previews.

All shops, apps and sites shown in the previews are fictional. The widget helps you ask for consent — check the exact wording with your own legal adviser.

201 premium elements, Cookie Consent Banner included.