Block Parts
Line Item
One product line in a cart or order summary, with image, variant, quantity and price.
Usage
Standing desk ProOak · 160 × 80 cm
$489.00Monitor arm × 2Black
$258.00Cable trayWhite
$39.00Installation
npm install @wunderui/reactThen import what you need:
import { LineItem, LineItemProps } from "@wunderui/react"API Reference
| Prop | Type | Default |
|---|---|---|
| name | ReactNode | — |
| variant | ReactNode | — |
| price | ReactNode | — |
| quantity | number | — |
| image | string | — |
| tint | Tint | "yellow" |
| size | "compact" | "regular" | "regular" |
| trailing | ReactNode | — |
| className | string | — |