Code

<marzipan-carticon
  cart-path="/cart"
  icon-style="bag-outline"
/>

Props

Props should be passed as attributes to the component element.
cart-path
string
The path to the cart page.Defaults to /cart
icon-style
string
The style of the icon to display.Can be one of cart-outline, cart-solid, bag-outline, or bag-solid.Defaults to bag-outline

Styling

The following parts are available to style the cart icon component:
cart-icon
string
The <a> element that contains the icon and cart count.