Content
StreamingText
Streams text token-by-token with a configurable speed, inline citation chips, follow-up question suggestions, and a post-stream action toolbar (copy, like, share).
Preview:1280px
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| text | string | - | Full text to stream. |
| speed | number | 40 | Characters revealed per second. |
| citations | Citation[] | [] | Inline source chips appended after the text. |
| followUps | string[] | [] | Suggested follow-up questions shown after streaming completes. |
| onComplete | () => void | - | Callback fired when streaming finishes. |