Avijit Dey

Coupon Icon

Component

About

An animated coupon/voucher icon for React that plays a hover or ref-triggered tear-and-shake animation, useful for discounts, promos and e-commerce offers.

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

Code

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

Usage.tsx

import { Coupon01Icon } from "@/components/ui/coupon-0-1-icon";

export default function Coupon01IconDemo() {
  return (
    <div className="flex h-screen w-full items-center justify-center bg-background text-foreground">
      <Coupon01Icon size={64} duration={1} />
    </div>
  );
}

Dependencies

More by Avijit Dey

View all
  • VK Square Icon

    VK Square Icon

  • Bell Off Icon

    Bell Off Icon

  • Filter Icon

    Filter Icon

  • Shield User Icon

    Shield User Icon

  • Analytics Down Icon

    Analytics Down Icon

  • Coffee Beans Icon

    Coffee Beans Icon

  • Copy Icon

    Copy Icon

  • Location Icon

    Location Icon

Explore more

Part of AnimateIcons / Lucide — browse the full library on 21st.dev.