steep components
All components

ProductCard

Storefront product card with image, title, price, badges, and an Add-to-cart callback.

components/product-card.tsxPeer deps: lucide-react

Live preview

Usage

import { ProductCard, type ProductCardProduct } from "@/components/product-card";

<ProductCard
  product={{
    id: "p_1",
    slug: "shirts",
    name: "Linen Tee",
    priceCents: 4900,
    compareAtPriceCents: 7900,
    imageUrl: img,
    isFeatured: true,
    kicker: "New",
  }}
  onAddToCart={(p) => cartStore.add(p)}
/>