BadgedBox

fun BadgedBox(badge: @Composable BoxScope.() -> Unit, modifier: Modifier = Modifier, content: @Composable BoxScope.() -> Unit)

Miuix badge box.

A badge represents dynamic information such as a number of pending requests in a navigation bar.

Badges can be icon only or contain short text.

A common use case is to display a badge with navigation bar items.

Parameters

badge

the badge to be displayed - typically a Badge

modifier

the Modifier to be applied to this BadgedBox

content

the anchor to which this badge will be positioned