Badge React component represents badge element that can be used in lists, links, navigation bars, etc.
<Badge>5</Badge>
<!--
Renders to:
<span class="badge">5</Badge>
-->
<Badge color="red">5</Badge>
<!--
Renders to:
<span class="badge color-red">5</Badge>
-->
Prop | Type | Default | Description |
---|---|---|---|
color | string | Badge color. One of default colors |