easeUI

Streaming Text

Reveals a model response as it streams in, fading each newly arrived word in on its own without replaying what's already on screen.

Installation

$ bunx --bun shadcn add @easeui/streaming-text

API reference

PropTypeDefaultDescription
textstring-The text so far. Append to it as more arrives; characters already shown never replay.
streaming?booleanfalseShows a blinking cursor at the end, for while more is still on its way. Default false.
className?string--

Updated