Tag

object Tag(source)

Functions

Link copied to clipboard
fun Ai(modifier: Modifier = Modifier, leadingIcon: SparkIcon = TagDefaults.Ai.icon, atEnd: Boolean = false, content: @Composable RowScope.() -> Unit)

A tag that marks AI-generated or AI-assisted content. Styled with the Spark AI colour tokens (ai, aiContainer, onAiContainer).

Link copied to clipboard
fun Tag.Highlight(modifier: Modifier = Modifier)

The Highlight tag is integrated into a card. It highlights new content and is placed at the top of the card so that users see it first. This component usages should remain exceptional and it is important to prioritize the elements highlighted in order to avoid visual overload.

Link copied to clipboard
fun Tag.HighlightBadge(modifier: Modifier = Modifier)

The Highlight tag “Badge” is positioned as close as possible to the element to be highlighted, whether in a menu for a new entry or in an Adcard. This component usages should remain exceptional and it is important to prioritize the elements highlighted in order to avoid visual overload.