Badge

A number or status mark on buttons and icons.

Basic usage

Displays the amount of new messages.

Max value

You can customize the max value.

Customizations

Displays text content other than numbers.

Little red dot

Use a red dot to mark content that needs to be noticed.

Attributes

AttributeDescriptionTypeAccepted ValuesDefault
valuedisplay valuestring / number
maxmaximum value, shows '{max}+' when exceeded. Only works if value is a Numbernumber
is-dotif a little dot is displayedbooleanfalse
hiddenhidden badgebooleanfalse
typebutton typestringprimary / success / warning / danger / info

Slots

NameDescription
customize default content