ReferenceComponents
<envie-badge>
Live saved-item count, typically in the header.
Live saved-item count, typically in the header.
Attributes
| Attribute | Description |
|---|---|
href | Optional link target; renders an <a> instead of a <span>. |
count | Reflected so themes can hide an empty badge via envie-badge[count="0"]. |
Events
| Event | Description |
|---|---|
undefined |
CSS parts
| Part | Description |
|---|---|
badge | The count wrapper. |
For the full styling contract — state attributes, tokens, and the rules behind them — see the theming guide.