cart-item-compact

Cart Item Compact

Cart lines with a quantity field and a remove button.

States: Default

Parts

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

Styling

PartRecipe
CartItemCompactcart-item-compact
CartItemCompactcart-item-compact-image
CartItemCompactline-title
CartItemCompactmeta
CartItemCompactquiet-action

Install

Writes 3 files into components/templates/cart-item-compact/. For agents, npx @frontic/ui docs cart-item-compact prints this reference as markdown; the MCP server serves the same.

npm packages
@lucide/vue

Built from

API reference

CartItemCompact CartItemCompact.vue

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

PropTypeDefault
maxQuantitynumber10
removeLabel((name: string) => string)`Remove ${name}`
quantityLabelstring'Quantity'
localestring—
classClassValue—
itemsCartLine[][]
EventPayload
update:itemsvalue: CartLine[]
Recipe cart-item-compactSets
base: cart-item-compact 3 properties
Recipe cart-item-compact-imageSets
base: cart-item-compact-image 4 properties · 3 inherited
Recipe line-titleSets
base: line-title 2 properties
Recipe metaSets
base: meta 3 properties
Recipe quiet-actionSets
base: quiet-action 1 property
Example