Shopping cart badge wrapper. Place in navbar/header. Default preset includes a child toggle-cart button.
Wrapper component. Add a child Button with action toggle-cart (the default preset does this). The cart count badge is injected onto toggle-cart buttons and respects showCount.
| 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 wrapper | relative |