SShinUI

Cookie Consent

A compact consent banner with accept and decline actions. Dismisses inline — wire it to your analytics gate when you ship it.

consentlegalbannergdpr

Usage

Drop the file into your project and import it. There is no package to install.

usage.tsx
import { CookieConsent } from "@/registry/components/cookie-consent";

export function Example() {
  return <CookieConsent />;
}

Install prerequisites

Every component here relies only on Tailwind and the cn helper from shadcn/ui.

terminal
npm i clsx tailwind-merge