Badge
# FxBadge
A numeric or status marker that appears next to buttons or icons.
# Attributes
| Parameter | Description | Type | Optional Values | Default |
|---|---|---|---|---|
| value | Display value | string, number | — | — |
| max | Maximum value, shows '{max}+' when exceeded (requires value to be Number type) | number | — | — |
| is-dot | Display as dot | boolean | — | false |
| hidden | Hide badge | boolean | — | false |
| type | Type | string | primary / success / warning / danger / info | — |
# Basic Usage
Display new message count.
Copy
# Maximum Value
Customizable maximum value.
Copy
# Custom Content
Can display text other than numbers.
Copy
# Red Dot
Mark content that needs attention with a red dot.
Copy