Streaming text
Reveals a passage token-by-token.
By word
Fast
No caret
API reference
Inputs
| Prop | Type | Default | Description |
|---|---|---|---|
text | string | '' | Full passage to reveal; also announced up front via an `aria-live` region. |
speed | number | 18 | Delay in milliseconds between each revealed token. |
startDelay | number | 0 | Delay in milliseconds before streaming begins. |
by | "char" | "word" | 'char' | Granularity of the reveal — one character or one word at a time. |
caret | boolean | true | Whether to show a blinking caret while streaming. |
Every ng-blatui component also accepts a class input to merge extra Tailwind classes onto the host.