Streaming text
Streamed answer: word-by-word reveal with a caret and inline source previews.
Preview
Use the controls to explore the component's props.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
paragraphs (required) | (string | TStreamingToken[])[] | — | Each paragraph is words or tokens; { cite, title?, description?, href? } renders an InlineSource. |
streaming | boolean | false | Animate the reveal; reduced motion shows everything at once. |
wordMs | number | --stream-gap (60ms fallback) | Override the gap between revealed words in milliseconds. |
Example
Pistachio is your fastest-growing flavor — sales are up 23% this month and margins beat vanilla by 8 points.
scoopdata.io Stone-fruit flavors trend in the same range.
import { StreamingText } from "@exegia/corpora-ui"
<StreamingText
streaming
paragraphs={[
"The Iliad opens with an invocation to the Muse.",
[{ cite: "Iliad 1.1", title: "Opening invocation" }],
]}
/>Last updated on
Research answer
Answer card with a kicker, the content, stacked Source / Date / Author(s) rows and an actions row: Copy citation, Share, Add to list.
Recommendation card
Human-in-the-loop proposal: title, description with entity and lead-time pills, other options with signal bars, confidence and Accept / Alternatives.