Skip to content
roguelite labsAnthony Spezzano ↗
Prompt/StreamText

StreamText

Character-by-character streaming text simulation with blinking cursor. Optionally loops.

Use and inspectUse this as a presentational interface around your own submit, stream, or state handlers. Reset preview only remounts the local example; it does not send a request or connect to a model.Next: inspect the source and wire its callback to a bounded backend action.
StreamTextCharacter-by-character streaming text simulation with blinking cursor. Optionally loops.
PropTypeDefaultDescription
text*stringThe full text to stream
speednumber28Milliseconds between characters
loopbooleanfalseRestart after completion
pauseMsnumber1200Pause before looping (ms)