lines* CartLine [] — Name lines Description The products in the cart, one row each.
Type CartLine [] Default — title string 'Your cart' Name title Description Type string Default 'Your cart' description string — currency string 'EUR' Name currency Description ISO 4217 code for the totals; the first line's currency wins when there is one.
Type string Default 'EUR' shippingCents number — Name shippingCents Description Shipping in minor units; 0 shows the free badge, and left out it reads as worked out at checkout and stays out of the total.
Type number Default — countLabel (( count : number ) => string ) ` ${ count } ${ count === 1 ? 'item' : 'items' } ` Name countLabel Description Builds the badge beside the heading from the number of items in the cart.
Type ( count : number ) : string Default ` ${ count } ${ count === 1 ? 'item' : 'items' } ` quantityLabel (( quantity : number ) => string ) `Qty ${ quantity } ` Name quantityLabel Description Builds each line's quantity text from its quantity.
Type ( quantity : number ) : string Default `Qty ${ quantity } ` subtotalLabel string 'Subtotal' Name subtotalLabel Description Shown beside the sum of the lines.
Type string Default 'Subtotal' shippingLabel string 'Shipping' Name shippingLabel Description Shown beside the shipping cost.
Type string Default 'Shipping' freeShippingLabel string 'Free' Name freeShippingLabel Description Shown on the badge in place of the shipping cost when shipping is free.
Type string Default 'Free' shippingPendingLabel string 'Calculated at checkout' Name shippingPendingLabel Description Shown in place of the shipping cost while it isn't known yet.
Type string Default 'Calculated at checkout' emptyLabel string 'Your cart is empty.' Name emptyLabel Description Shown in place of the lines when the cart is empty.
Type string Default 'Your cart is empty.' savingsLabel string 'You save' Name savingsLabel Description Shown beside the amount saved; the row shows only when a line is reduced.
Type string Default 'You save' totalLabel string 'Total' Name totalLabel Description Shown beside the order total.
Type string Default 'Total' taxNote string 'Incl. VAT' Name taxNote Description Shown under the total's label, e.g. whether VAT is included.
Type string Default 'Incl. VAT' checkoutLabel string 'Secure checkout' Name checkoutLabel Description Shown on the button that goes to checkout.
Type string Default 'Secure checkout' locale string — Name locale Description BCP 47 locale the prices are formatted in, e.g. de - DE ; the ConfigProvider's when left out.
Type string Default — surface 'raised' | 'bare' 'raised' Name surface Description Bare drops the edge, shadow and inset, for a section placed inside another Card.
Type 'raised' | 'bare' Default 'raised' class ClassValue — Name class Description Classes added to the part's own element, after its recipe classes.
Type null | string | false | Record < string , any > | ClassValue [] Default —