Block Parts
Product Image
A product photo, or a colored placeholder with an icon when there is no photo yet.
Usage
Installation
npm install @wunderui/reactThen import what you need:
import { ProductImage } from "@wunderui/react"API Reference
| Prop | Type | Default |
|---|---|---|
| src | string | — |
| alt | string | "" |
| tint | "indigo" | "blue" | "purple" | "pink" | "red" | "orange" | "yellow" | "green" | "alternative" | "yellow" |
| icon | ReactNode | <Package /> |
| className | string | — |