Cart Item Row
A production-scale, light + dark Cart Item Row component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add cart-item-rowLive preview available in the gallery.
Usage
import { CartItemRow } from "@lerpa/ui";
<CartItemRow />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| name | string | — | |
| variant | string | — | |
| price | number | — | |
| defaultQty | number | — | |
| onChange | (qty: number) => void | — | |
| onRemove | () => void | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.