Skip to content
Block PartsPro

Product Image

A product photo, or a colored placeholder with an icon when there is no photo yet.

Usage

Installation

bash
npm install @wunderui/react

Then import what you need:

tsx
import { ProductImage } from "@wunderui/react"

API Reference

PropTypeDefault
srcstring—
altstring""
tint"indigo" | "blue" | "purple" | "pink" | "red" | "orange" | "yellow" | "green" | "alternative""yellow"
iconReactNode<Package />
classNamestring—