80 Primitives
Home/Components/Streaming Text
AI & AgentsAI & Agents

Streaming Text

Streamed answer with inline sources, actions, and follow-ups.

Interactive Live Preview

Component Props & Interface

Type-safe React 19 props supported by Streaming Text.

Prop NameTypeDefaultDescription
classNamestringundefinedOptional custom CSS styling classes
variantstring'default'Visual variant theme
onAction() => voidundefinedInteraction trigger callback
⌨ Keyboard Navigation

Fully navigable via Tab and Space/Enter. Supports ARIA live region updates for AI streaming states.

📱 Touch & Mobile Gestures

Touch-optimized event handling with hardware acceleration on mobile iOS Safari and Chrome Android.

⚡ Reduced Motion

Respects prefers-reduced-motion with instant CSS state swaps and disabled infinite loops.