A dumb badge component.
A Badge component does not have properties.
| Name | Required | Description |
|---|---|---|
children | yes | What the button will display. |
icon | no | Snippet to add an icon. |
This is a plain badge:
If you want to link the badge, you need to wrap it with an anchor and adjust the styles:
If you want to add an icon to the badge, you can do so with an icon snippet:
You can make the icon clickable: