Badge
Numbers or status markers on buttons and icons.
Basic usage
value
is used to display the number of new messages, ```color```` is used to set the background color.
Max
The custom maximum value is defined by the max
property and accepts the Number value.
Customizations
When value
is String
, custom text can be displayed.
Dot
The dot
attribute is used to display small dots, but the value attribute is invalid.
Flashing
The flashing
property is used to set the flashing effect, which is a Boolean
value.