cart-item-compact

Cart Item Compact

Cart lines with a quantity field and a remove button.

Parts

PartFileDoes
CartItemCompactCartItemCompact.vueLists the cart's items with a quantity control and a remove button.

Styling

All of Cart Item Compact’s styles live in cart-item-compact.json. New to styling in Frontic UI? How styling works →

Install

npm packages
@lucide/vue

Built from

API reference

CartItemCompact.vue

Lists the cart's items with a quantity control and a remove button.

Props 6

PropTypeDefault
maxQuantitynumber10
removeLabel((name: string) => string)`Remove ${name}`
quantityAriaLabel((name: string) => string)`Quantity of ${name}`
localestring—
classClassValue—
itemsCartLine[][]

Events 1

EventPayload
update:itemsvalue: CartLine[]

Recipe cart-item-compact 1 group

Recipe cart-item-compact-image 1 group

Recipe line-title 1 group

Recipe meta 1 group

Recipe quiet-action 1 group

Cart Item Compact