KPBoxBadge

fun KPBoxBadge(badge: BoxBadge, modifier: Modifier = Modifier, attributes: BoxBadgeAttributes = BoxBadgeAttributes())

Represents a single badge based on the provided badge type and attributes.

Parameters

badge

The type of badge to display, which determines the icon, title, and background.

modifier

Modifier to be applied to the badge.

attributes

Configuration options for the badge's appearance, including size, padding, and text style.