About
A product card that displays an item photo in a fixed 4:5 aspect ratio with a discount badge overlay and price/sale price beneath it.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Product Card Aspect Ratio to your project and fits it to your theme.
Code
How Product Card Aspect Ratio is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import ProductCardAspectRatioDemo from "@/components/ui/aspect-ratio-06";
export default function Demo() {
return <ProductCardAspectRatioDemo />;
}















