Package-level declarations

JengaBadge: a small count or label in a tone.

Types

Link copied to clipboard
class JengaBadgeColors(val container: Color, val content: Color)

Resolved colors for a JengaBadge.

Link copied to clipboard

Defaults and token mappings for JengaBadge.

Link copied to clipboard

Semantic tone of a JengaBadge.

Functions

Link copied to clipboard
fun JengaBadge(text: AnnotatedString, modifier: Modifier = Modifier, tone: JengaBadgeTone = JengaBadgeTone.Neutral, colors: JengaBadgeColors = JengaBadgeDefaults.colors(tone), shape: Shape = JengaBadgeDefaults.shape, contentPadding: PaddingValues = JengaBadgeDefaults.contentPadding, textStyle: TextStyle = JengaBadgeDefaults.textStyle)

A small status/label pill with styled text (e.g. a bold count).

fun JengaBadge(text: String, modifier: Modifier = Modifier, tone: JengaBadgeTone = JengaBadgeTone.Neutral, colors: JengaBadgeColors = JengaBadgeDefaults.colors(tone), shape: Shape = JengaBadgeDefaults.shape, contentPadding: PaddingValues = JengaBadgeDefaults.contentPadding, textStyle: TextStyle = JengaBadgeDefaults.textStyle)

A small status/label pill. The text is shown as written.