- title
- string = "Your cart"
- headingLevel
- HeadingLevel = 2
- open
- boolean
- defaultOpen
- boolean = false
- onOpenChange
- (open: boolean) => void
- lines
- CartLine[] = DEFAULT_LINES
- Cart lines in the order they were added. The newest are shown first.
- maxVisibleLines
- number = 3
- How many of the newest lines are listed before the rest is summed up.
- loading
- boolean = false
- Replaces the lines with skeleton rows and holds the checkout action.
- align
- "start" | "center" | "end" = "end"
- Edge of the cart button the panel lines up with.
- currency
- string = "EUR"
- locale
- string = "en-US"
- checkoutHref
- string = "/checkout"
- cartHref
- string = "/cart"
- shopHref
- string = "/products"
- Where the empty state sends the shopper.