Shopping cart icon button with live item count badge. Place in navbar/header. Fires toggle-cart action on click to open/close the CartDrawer.
Self-contained component — no children. Renders a shopping cart icon (TbShoppingCart) with an optional count badge. Click toggles the CartDrawer.
| Property | Type | Description | Examples |
|---|---|---|---|
showCount | boolean | Show the item count badge when cart has items Default: true | - |
canDelete | boolean | - Default: true | - |
canEditName | boolean | - Default: true | - |
custom | object | - | - |
className | string | Tailwind classes for the button | btn btn-ghost btn-circle relative |