Feedback

Badge

A badge is a small label that displays a short yet important piece of information.

View source

Props

NameTypeDefaultDescription
iconrequiredIcon
Add an icon to the badge (Required if no label)
labelrequiredstring
The label of the badge (Required if no icon)
extraClassesstring[]
CSS class for the badge
iconPlacementBadgeIconPlacementBadgeIconPlacement.Left
Whether the icon is left or right (Required if no label)
isSmallbooleanfalse
The Badge will be smaller in size when true
typeBadgeTypeDefault
The type of the badge

Examples

No guidelines exist for Badge yet.

Create guidelines