Package-level declarations
Types
Functions
Link copied to clipboard
fun Badge(text: String, modifier: Modifier = Modifier, badgeAppearance: BadgeAppearance = BadgeAppearance.Standard, badgeVariant: BadgeVariant = BadgeVariant.Primary, icon: Painter? = null)
A badge is a non-interactive UI element that visually attracts attention and provides information about a specific item or its status. A badge can be a label by itself, or it can combine both a label and an icon. A badge cannot consist of only an icon.