Persona

@Composable
fun Persona(state: PersonaState, modifier: Modifier = Modifier, size: Dp = 96.dp, level: () -> Float = { 0f })(source)

An animated agent presence for voice UIs (AI Elements <Persona>), drawn with Material 3 Expressive shapes instead of a Rive file: it breathes when idle, ripples while listening, morphs through shapes while thinking, pulses with level (0–1, e.g. output loudness) while speaking, and dims asleep. State changes morph from the previous shape.