Ai

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

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

Tag Ai

Parameters

modifier

Modifier for the tag container.

leadingIcon

The icon displayed before the content. Defaults to TagDefaults.Ai.icon.

atEnd

Whether the animated vector should be rendered at the end of its animations.

content

The main content of the tag, usually a Text.