Throttle Builder · Components · Catalog

Cart button

The cart button with the item count. It opens the cart drawer.

The Cart button component in the Components library, with its description and settings
The Cart button component in the Components library, with its description and settings

What it is for

The cart button with the item count. It opens the cart drawer. Place it in the header.

Where you can use it

  • Available only when Product Catalog is installed; the Components library lists it but disabled otherwise.

In the editor, open the Add tab of the left panel and drag it into a column. Its type is catalog.cart-button, version 1.

Options

This component has no options of its own beyond the ones every component has.

Every component also has the common options: Hide, Anchor, Space above, Space below, Entrance animation and Entrance delay.

Responsive behaviour

Every option can be set again for tablet (768 to 1024 px) and phone (767 px and below): switch the device at the top of the editor and change it there. Tablet starts from the desktop value and phone from the tablet value, so you only set what differs.

It follows the width of its column. The button is the same on every device.

SEO and accessibility

It is a button, not a link, labelled with the item count (for example Cart, 3 items). The count comes from the shopper's browser, so it adds nothing for search engines.

With an AI agent

An agent adds it with add_widget and changes its options with update_node, using the keys above. See the MCP tool reference.

The widget an agent adds
{
  "type": "catalog.cart-button",
  "v": 1,
  "props": {}
}
Generated from the code
The option tables on this page are generated from the component definitions in @usethrottle/builder-schema 0.4.2 and @usethrottle/storefront-react 0.4.5.