Skip to main content

Play Badge

Badges are inline block elements that usually appear near another element. Typically they contain a number or other characters. They can be used as a notification that there are additional items associated with an element and indicate how many items there are. Badges are hidden if no content is passed in.

Basic Badge

Size Badge

Theme Badge

Properties

color

DescriptionThe color to use from your application's color palette. Default options are: "primary", "secondary", "success", "warning", and "danger".
Attributecolor
Type"danger" | "primary" | "secondary" | "success" | "warning" |"info" | string
Defaultprimary

size

DescriptionThe mode determines which size to use.
Attributemode
Type"xl" | "lg"
Defaultlg