Badge
A numeric/status badge, typically used for message counts or new-content indicators.
Basic usage
Numeric badges
Max display
When the value exceeds max, max+ is displayed.
Max display
Dot
Status dot
Zero value
0 is hidden by default; shown when showZero is set.
Zero value control
API
Attributes
| Attribute | Description | Type | Default |
|---|---|---|---|
dot | Dot mode | boolean | — |
max | Upper limit | string | — |
showZero | Whether to show when value=0 | boolean | — |
value | Number | string | — |
Slots
| Name | Description |
|---|---|
| default | — |