Streaming Text

display

Character-by-character streaming text display for AI response simulation.

Preview

No preview available

Check the code examples below.

Installation

npm install @launchapp/design-system
Import
import { StreamingText } from "@launchapp/design-system";

Examples

AI response stream

<StreamingText  text="Here is the analysis you requested. The data shows a 23% increase in user engagement over the past month..."  speed={40}  onComplete={() => console.log("done")}/>

Props

PropTypeDefaultDescription
text*
stringFull text to stream.
speed
number30Characters per second.
onComplete
() => voidCalled when streaming completes.