Runtime cart line-item list for the CartDrawer. Reads live items from cart context and renders quantity controls in viewer mode.
Self-contained dynamic component (no children). In editor mode shows a placeholder; in viewer mode renders cart lines from cart context.
| Property | Type | Description | Examples |
|---|---|---|---|
emptyText | string | Message shown when the cart has no items Default: "Your cart is empty" | - |
editorTitle | string | Editor-only placeholder title Default: "Cart Items" | - |
editorMessage | string | Editor-only placeholder body text Default: "Dynamic - renders cart contents at runtime" | - |
canDelete | boolean | - Default: true | - |
canEditName | boolean | - Default: true | - |
custom | object | - | - |
className | string | Tailwind classes for the cart items wrapper | flex-1 overflow-y-auto px-6 py-4 |
listClassName | string | Tailwind classes for the items list wrapper | flex flex-col gap-4 |
rowClassName | string | Tailwind classes for each cart row | flex gap-4 |
titleClassName | string | Tailwind classes for product title text | line-clamp-2 text-sm font-semibold |
priceClassName | string | Tailwind classes for product price text | text-primary text-sm font-bold |