Empty cart
0
Interactive documentation for the cart button entity. Change count in the playground, inspect count states, and track click events.
<CartButton :count="0" @click="handleClick" />Common cart count states.
These tables match the current CartButton props and emitted events.
Input values accepted by CartButton.
| Prop | Type | Default | Required | Description |
|---|---|---|---|---|
| count | number | undefined | Required | Current cart items count displayed inside the number chip. |
Events emitted by CartButton.
| Event | Payload | Description |
|---|---|---|
| click | void | Emitted when user clicks the cart button. |