Utility
Terminal
ā
streaming-text-demo ā
Loading preview... ā
ā
ā
ā
ā
ā
ā
ā
ā
ā
ā
ā
ā
ā
ā
āInstallation
$ pnpm dlx shadcn@latest add @termcn/opentui/streaming-text
Usage
import { StreamingText } from "@/components/ui/streaming-text";<StreamingText text="Installing dependencies..." animate speed={20} />API Reference
StreamingText
| Prop | Type | Default |
|---|---|---|
text | string | - |
stream | AsyncIterable<string> | - |
cursor | boolean | true |
animate | boolean | false |
speed | number | 30 |
onComplete | (fullText: string) => void | - |
cursorColor | string | - |