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>
);
}






