targetText | MaybeRefOrGetter<string> | — | The full target text to reveal. As new chunks arrive, update this value with the accumulated text. |
isStreaming | MaybeRefOrGetter<boolean> | false | Whether text is currently being streamed. When false, the hook returns the full targetText immediately. |
options | MaybeRefOrGetter<UseStreamingTextOptions> | — | Optional configuration for streaming behavior. |
options.speed | 'natural' | 'fast' | 'instant' | 'natural' | Speed preset for text reveal. natural reveals a short run at each motion tick, fast ticks twice as often so it drains the backlog sooner, and instant returns the full text with no animation. |