About
A ticket-stub styled price tag card showing a label, price, optional strikethrough original price, and an optional rotated sale stamp.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Price Tag to your project and fits it to your theme.
Code
How Price Tag is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { PriceTag } from "@/components/ui/price-tag";
export default function PriceTagDemo() {
return (
<div className="flex min-h-[320px] w-full items-center justify-center gap-6 bg-background p-10">
<PriceTag price="45.00" label="REGULAR" />
<PriceTag price="29.00" originalPrice="45.00" sale label="EARLY BIRD" />
</div>
);
}
















