Word-by-word token reveal with inline citation pills, action bar, and follow-up prompts.
"use client"; import { StreamingText } from "@/components/compose/streaming-text"; export function AnswerStream() { return ( <StreamingText text="Concentric bevels improve contrast and clarity across light and dark surfaces." sourceDomain="composeui.dev" followUps={["Compare bevels vs flat hairlines"]} /> );}Add it with the ComposeUI CLI, or copy the source manually.
textstringAssistant response string split and animated per word token.
sourceDomainstringOptional inline citation pill displayed mid-stream or at completion.
tokenIntervalMsnumberCadence in milliseconds between word token appearances.
45Updated December 2026