Badge
Props
API reference for Badge. For usage examples, see the React tab.
| Name | Type | Default |
|---|---|---|
| badgeContent (required) | ReactNode | |
The Badge content, primarily a number 0-99(+). | ||
| border | boolean | false |
Change the border of Badge to white. | ||
| children | ReactNode | |
The content or child elements nested within this component. | ||
| hide | boolean | false |
Set to true, to hide the component. Useful when toggling on/off. | ||
| placement | "bottomLeft" | "bottomRight" | "topLeft" | "topRight" | "topRight" |
The placement of the Badge in relation to its children anchor. | ||