Tailwind UI Pattern Registry for humans and agents

banner cookie consent gdpr privacy legal cookie consent gdpr privacy banner legal compliance cookie consent banner GDPR cookie notice

Cookie Banner

Fetch pattern JSON: curl https://webspire.de/patterns/banner/cookie.json

Details

Family
banner
Tier
enhanced
Kind
component
Extends
banner/base
Responsive Dark Mode Tailwind Only SSR Safe Copy & Paste Requires JS
Stable Published
bannercookieconsentgdprprivacylegal

Slots

Name Required Description
message Yes Cookie notice text with policy link.
actions Yes Accept and decline buttons.

Fixed bottom cookie consent banner in a floating rounded card. Shows notice text with privacy policy link, plus decline and accept buttons. Stacks vertically on mobile. Add JS to handle consent storage and dismissal.