Skip to content
Block PartsPro

Product Card

A shop tile with image, name, price and rating, plus optional wishlist and add-to-cart buttons.

Usage

Sale

Standing desk Pro

$489$599

4.8 (312)

Ergonomic chair

$329

In stock

Your cart is empty.

Installation

bash
npm install @wunderui/react

Then import what you need:

tsx
import { ProductCard, ProductCardProps } from "@wunderui/react"

API Reference

PropTypeDefault
nameReactNode—
priceReactNode—
compareAtReactNode—
ratingnumber—
reviewsnumber—
availabilityReactNode—
badge{ label: ReactNode; color?: BadgeColor }—
imagestring—
tintTint"indigo"
wishlistedboolean—
onWishlist() => void—
onAddToCart() => void—
addToCartLabelReactNode"Add to cart"
onClick() => void—
classNamestring—