@microsoft/fast-foundation > Badge
Badge class
A Badge Custom HTML Element.
- The default slot for the badge
control - The element representing the badge, which wraps the default slot
Signature:export declare class Badge extends FoundationElement
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| circular | boolean | Indicates the element should be circular | |
| color | string | Indicates the badge should have a filled style. | |
| fill | string | Indicates the badge should have a filled style. | |
| generateBadgeStyle | () => string | undefined |