Badge
A badge is a small label that displays a short yet important piece of information.
Props
Name | Type | Default | Description |
---|---|---|---|
icon required | Icon | Add an icon to the badge (Required if no label) | |
label required | string | The label of the badge (Required if no icon) | |
extraClasses | string[] | CSS class for the badge | |
iconPlacement | BadgeIconPlacement | BadgeIconPlacement.Left | Whether the icon is left or right (Required if no label) |
isSmall | boolean | false | The Badge will be smaller in size when true |
type | BadgeType | Default | The type of the badge |
Examples
Badge with icon
Badge small
No guidelines exist for Badge yet.