CartItems

Runtime cart line-item list for the CartDrawer. Reads live items from cart context and renders quantity controls in viewer mode.

Structure

Self-contained dynamic component (no children). In editor mode shows a placeholder; in viewer mode renders cart lines from cart context.

Properties

PropertyTypeDescriptionExamples
emptyTextstring
Message shown when the cart has no items
Default: "Your cart is empty"
-
editorTitlestring
Editor-only placeholder title
Default: "Cart Items"
-
editorMessagestring
Editor-only placeholder body text
Default: "Dynamic - renders cart contents at runtime"
-
canDeleteboolean
-
Default: true
-
canEditNameboolean
-
Default: true
-
customobject
-
-
classNamestring
Tailwind classes for the cart items wrapper
flex-1 overflow-y-auto px-6 py-4
listClassNamestring
Tailwind classes for the items list wrapper
flex flex-col gap-4
rowClassNamestring
Tailwind classes for each cart row
flex gap-4
titleClassNamestring
Tailwind classes for product title text
line-clamp-2 text-sm font-semibold
priceClassNamestring
Tailwind classes for product price text
text-primary text-sm font-bold