rahul jangir

CookieConsentBanner

Buttons

About

A responsive React cookie-consent banner with three size variants (default, small, mini) and customizable callbacks—powered by your custom Card layout and ParticleButton click effects.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds CookieConsentBanner to your project and fits it to your theme.

Code

How CookieConsentBanner is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { CookieConsent } from "@/components/ui/cookie-consent-banner";

export default function DemoOne() {
  return <CookieConsent variant="default" onAcceptCallback={() => console.log('Accepted')} onDeclineCallback={() => console.log('Declined')}/>;
}

Dependencies

More in Buttons

View all
  • Texture Button

    Texture Button

    108
  • Button

    Button

    14
  • Notification Button

    Notification Button

    117
  • HeroUI Button Group

    HeroUI Button Group

    2
  • Eclipse Button

    Eclipse Button

    44
  • Button Save

    Button Save

    50
  • App Store Button

    App Store Button

    484
  • Base Button

    Base Button

    1