KPBoxBadgeGroup

fun KPBoxBadgeGroup(badges: PersistentList<BoxBadge>, modifier: Modifier = Modifier, itemAttributes: BoxBadgeAttributes = BoxBadgeAttributes(), maxBadgeCount: Int = 4, space: Dp = 4.dp)

Represents a horizontal list of badges displayed.

Parameters

badges

List of badges to be displayed.

modifier

Modifier to be applied to the list. BadgeGroup is rendered with its default width, but scales to the specified width when a width-related modifier (e.g., fillMaxWidth, width, etc) is applied.

maxBadgeCount

Specifies the maximum number of badges to display in the list.

space

Determines the space between badges in the list, measured in Dp.

itemAttributes

Defines the styling attributes for badge items, including properties like padding, icon size, and border radius, etc.