Atelier UI

Search components…

Search components…

Cookie Banner

Cookie consent banner: accept all, reject all, or customize per-category preferences.

Edit in sandbox

Copy a prompt for your AI coding tool with the source, dependencies and usage

Props

CookieBannerProps

Also accepts all props of Omit<React.ComponentProps<"div">, "title">

PropTypeDefaultDescription
open* requiredboolean——
onOpenChange* required(open: boolean) => void——
onDecision(preferences: CookiePreferences) => void——
titlestring"We value your privacy"—
descriptionstring"We use cookies to keep the site working and—

Install

$ npx shadcn@latest add https://chromotion.dev/r/cookie-banner.json

More like this