> For the complete documentation index, see [llms.txt](https://accelio.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://accelio.gitbook.io/docs/cart-elements/header.md). Agents can also search and read this documentation through its [MCP server](https://accelio.gitbook.io/docs/~gitbook/mcp).

# Header

Set the cart icon, title, item count style and close button.

The **Header** sits at the top of the drawer, holding the cart icon, title, item count, and close button. It is **always shown**.

Open **Cart elements > Header**.

<figure><img src="https://153490188-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtXnqreLUgTLePYs0qjMq%2Fuploads%2FqmU6fKtFAbLTabsu3x2a%2Fimage.png?alt=media&amp;token=1720df2e-2b66-42e4-8781-055de88534bb" alt=""><figcaption></figcaption></figure>

### 1. Settings

* **Select icon:** Choose one of **10 preset icons** (cart, bag, basket variations), pick **no icon**, or **upload your own**.
* **Icon size:** Icon height in px.
* **Header text:** The text beside the icon. Default: `Cart`.
* **Title font size:** Title text size in px.&#x20;
* **Header text position:** Where the title aligns: **Left**, **Center**, or **Right**. Default: **Left**.
* **Close button position:** Which side the close (✕) button sits on: **Left** or **Right**. Default: **Right**.
* **Quantity indicator:** How the item count is shown next to the title. Four styles:
  * None: hides the count
  * Number in dot: count sits inside a filled circle
  * Number in round brackets: written inline as `Cart (3)`
  * Small number: plain superscript text

<figure><img src="https://153490188-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtXnqreLUgTLePYs0qjMq%2Fuploads%2FliRBfLJf6fWoAj43i1BQ%2Fimage.png?alt=media&amp;token=378224c9-475f-4373-ac25-24cd7fd3d0df" alt=""><figcaption></figcaption></figure>

### 2. Color

<figure><img src="https://153490188-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtXnqreLUgTLePYs0qjMq%2Fuploads%2FghyMLlY0UURRaabxg11q%2Fimage.png?alt=media&amp;token=7b8a7b77-1265-4849-b42f-e07d650d8464" alt=""><figcaption></figcaption></figure>

Set colors for each part of the header:

* Title
* Quantity text color
* Quantity dot color: background behind the number (only shows with **Number in dot**).&#x20;

### Need help?

If you need any assistance, reach out to our support team via **live chat** inside the Accelio app.
