TagFilled

fun TagFilled(modifier: Modifier = Modifier, intent: TagIntent = TagIntent.Basic, leadingIcon: SparkIcon? = null, tint: Color? = null, content: @Composable RowScope.() -> Unit)

Filled tag represent main information

Parameters

modifier

The Modifier to be applied to the component

intent

The TagIntent color to use

leadingIcon

The spark icon shown at the start of the tag

tint

The tint color for the icon. Use Color.Unspecified to not apply tint.


fun TagFilled(text: String, modifier: Modifier = Modifier, intent: TagIntent = TagIntent.Basic, leadingIcon: SparkIcon? = null, tint: Color? = null)

Filled tag represent main information

Parameters

text

The item label

modifier

The Modifier to be applied to the component

intent

The TagIntent color to use

leadingIcon

The spark icon shown at the start of the tag

tint

The tint color for the icon. Use Color.Unspecified to not apply tint.


fun TagFilled(text: AnnotatedString, modifier: Modifier = Modifier, intent: TagIntent = TagIntent.Basic, leadingIcon: SparkIcon? = null, tint: Color? = null)

Filled tag represent main information

Parameters

text

The styled item label

modifier

The Modifier to be applied to the component

intent

The TagIntent color to use

leadingIcon

The spark icon shown at the start of the tag

tint

The tint color for the icon. Use Color.Unspecified to not apply tint.