Skip to content
Cart line item, light
Light
Cart line item, dark
Dark

Every state

  • Cart line item, default, light
    Cart line item, default, dark

    default

  • Cart line item, hover, light
    Cart line item, hover, dark

    hover

  • Cart line item, focus, light
    Cart line item, focus, dark

    focus

  • Cart line item, single, light
    Cart line item, single, dark

    single

  • Cart line item, no-save, light
    Cart line item, no-save, dark

    no-save

  • Cart line item, long-name, light
    Cart line item, long-name, dark

    long-name

  • Cart line item, removed, light
    Cart line item, removed, dark

    removed

Props

PropTypeDefaultWhat it does
item{ name; href; image; options?; unitPrice; compareAtPrice?; quantity; max; note? }–The line. Prices in minor units; image takes fit "cover" or "contain".
currencystring"EUR"ISO 4217 code.
localestring"en-IE"Formats the prices.
onQuantity(quantity: number) => void–Called with the new quantity.
onRemove() => void–Called on remove; the row offers undo.
onUndo() => void–Called when the remove is undone.
onSaveForLater(() => void) | null–Moves it to a saved list. Null hides the action.
classNamestring–Extra classes on the row.

More commerce parts

All 19
commerce-04 is in UI ProGet UI Pro, €199

Preview

Open the page
In UI Pro: get it, €199 once

With every block and theme. 400+ buyers since 2020. Plans