Cookie Banner 18 - With language selectPro

A bottom-left consent card with a language select in its header that crossfades the copy and button labels between English, German, French and Spanish.

About Cookie Banner 18

A bottom-left consent card with a language select in its header that crossfades the copy and button labels between English, German, French and Spanish.

Cookie Banner 18 is a pro cookie banner block for React, built on shadcn/ui and Tailwind CSS with motion animations that respect reduced-motion settings. It ships as 142 lines of TypeScript you own: every piece of copy is a prop with a sensible default, so you can drop it in and replace the content without touching the layout.

  • cookie
  • consent
  • i18n
  • language
  • select

Installation

  1. Add the Chocolate UI registry to your components.json (see the installation guide).
  2. Run the shadcn CLI:
npx shadcn@latest add @chocolate/cookie-banner-18

Dependencies installed automatically: lucide-react, motion.

Uses: button, select, switch, utils.

Usage

import CookieBanner18 from "@/components/blocks/cookie-banner-18"

export default function Page() {
  return <CookieBanner18 />
}

FAQ