Product Card 2 - Bordered with add to cart
Four bordered cards with a padded image well, label badge, star rating, price row and a full-width add-to-cart button that confirms on click.
About Product Card 2
Four bordered cards with a padded image well, label badge, star rating, price row and a full-width add-to-cart button that confirms on click.
Product Card 2 is a free product card block for React, built on shadcn/ui and Tailwind CSS. It ships as 115 lines of TypeScript you own: every piece of copy is a prop with a sensible default, so you can drop it in and replace the content without touching the layout.
- ecommerce
- card
- bordered
- rating
- add-to-cart
Installation
- Add the Chocolate UI registry to your
components.json(see the installation guide). - Run the shadcn CLI:
npx shadcn@latest add @chocolate/product-card-02Dependencies installed automatically: lucide-react.
Uses: badge, button, card, reveal, utils.
Usage
import ProductCard02 from "@/components/blocks/product-card-02"
export default function Page() {
return <ProductCard02 />
}