AITypingIndicator

fun AITypingIndicator(modifier: Modifier = Modifier, label: @Composable () -> Unit = { with(LocalChatAiComponentFactory.current) { AITypingIndicatorLabel(AITypingIndicatorLabelParams()) } }, indicator: @Composable () -> Unit = { with(LocalChatAiComponentFactory.current) { AITypingIndicatorIndicator(AITypingIndicatorIndicatorParams()) } })

A typing indicator composable that displays an optional label and an animated indicator.

By default, displays three animated dots that sequentially highlight in a smooth, overlapping animation. The indicator uses LocalContentColor to match the current theme's content color.

Parameters

modifier

Modifier to be applied to the root Row container

label

Optional composable label to display before the indicator. Defaults to empty content.

indicator

Composable indicator to display. Defaults to AnimatedDots which shows three animated dots with sequential highlighting.