Tag

fun Tag(modifier: Modifier = Modifier, label: String, type: TagType, defaultBackgroundColor: Color = SurfaceColor.PrimaryContainer, defaultTextColor: Color = TextColor.OnPrimaryContainer)

DHIS2 Tag Short labels or identifiers used to categorize and organize elements, making them easier to locate and understand.

Parameters

modifier

: optional modifier.

label

: text for label.