---
id: fast-foundation.badge
title: Badge class
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-foundation](./fast-foundation.md) &gt; [Badge](./fast-foundation.badge.md)

## Badge class

A Badge Custom HTML Element.


- The default slot for the badge


control - The element representing the badge, which wraps the default slot

<b>Signature:</b>

```typescript
export declare class Badge extends FoundationElement 
```

## Properties

|  Property | Modifiers | Type | Description |
|  --- | --- | --- | --- |
|  [circular](./fast-foundation.badge.circular.md) |  | boolean | Indicates the element should be circular |
|  [color](./fast-foundation.badge.color.md) |  | string | Indicates the badge should have a filled style. |
|  [fill](./fast-foundation.badge.fill.md) |  | string | Indicates the badge should have a filled style. |
|  [generateBadgeStyle](./fast-foundation.badge.generatebadgestyle.md) |  | () =&gt; string \| undefined |  |
