- title
- string = "Your cart"
- headingLevel
- HeadingLevel = 2
- open
- boolean
- defaultOpen
- boolean = false
- onOpenChange
- (open: boolean) => void
- lines
- CartLine[]
- defaultLines
- CartLine[] = DEFAULT_LINES
- onLinesChange
- (lines: CartLine[]) => void
- freeShippingFrom
- number = DEFAULT_FREE_SHIPPING_FROM
- Subtotal from which shipping is free. Pass 0 for no threshold.
- shippingCost
- number = DEFAULT_SHIPPING_COST
- Flat shipping rate charged below the threshold.
- loading
- boolean = false
- Replaces lines and figures with skeletons and holds the checkout action.
- placement
- "bottom-end" | "bottom-start" = "bottom-end"
- Corner of the viewport. Logical, so it mirrors in right-to-left layouts.
- offset
- { block?: number; inline?: number }
- Distance from the viewport edges in px. Raise block to clear a bottom bar or a chat button.
- currency
- string = "EUR"
- locale
- string = "en-US"
- checkoutHref
- string = "/checkout"