Badge
Badges help highlight important information, such as notifications or new and unread messages.
install | yarn add @clayui/badge |
---|---|
version | 3.111.0 |
Stable3.111.0View in LexiconCHANGELOG
Property | Description |
---|---|
dark boolean | Flag to indicate if the badge should use the clay-dark variant. |
displayType | 'primary'
| 'secondary'
| 'info'
| 'danger'
| 'success'
| 'warning'
| 'beta'
| 'beta-dark' | Determines the color of the badge.
The values beta and beta-dark are deprecated since v3.100.0 - use
translucent and dark instead.The default value is 'primary' |
label string | number | Info that is shown inside of the badge itself. |
translucent boolean | Flag to indicate if the badge should use the translucent variant. |