Badges
Small visual indicators used to convey status, counts, or categories. Badges can be used standalone or as overlays on icons and buttons.
Use this example to explore default behavior, customization points, and accessibility-friendly patterns in a real Blazor page.
Badges
MgBadgeAPI Reference: MgBadge
| Property | Type | Default | Description |
|---|---|---|---|
| DisplayText | string | "" | The text to display inside the badge. |
API Reference: MgIconBadge
| Property | Type | Default | Description |
|---|---|---|---|
| IconName | string | null | Bootstrap icon class. |
| BadgeText | string | null | Text to display in the badge overlay. |