TagTinted

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

Tinted tag represent support information like OutlinedTag

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 TagTinted(text: String, modifier: Modifier = Modifier, intent: TagIntent = TagIntent.Basic, leadingIcon: SparkIcon? = null, tint: Color? = null)
fun TagTinted(text: AnnotatedString, modifier: Modifier = Modifier, intent: TagIntent = TagIntent.Basic, leadingIcon: SparkIcon? = null, tint: Color? = null)

Tinted tag represent support information like OutlinedTag

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.