Docs / Streaming

Streaming

Streaming text with a soft cursor.

Install

npx shadcn@latest add https://crate.onerollstudios.com/r/streaming.json

Playground

Here is what I found in the docs
<Streaming text="Here is what I found in the docs" />

Import

import { Streaming } from "@/components/agent-wait-states/streaming";

Props

PropTypeRequiredDefaultNotes
classNamestringno
accentbooleannofalse
labelsPartial<CrateLabels>noReplace any of this component's labels. Overrides CrateProvider.
childrenReactNodeno
textstringno

Labels

Override with the labels prop or a CrateProvider.

LabelEnglish default
responseStreaming"Response streaming"

Example

<Streaming text={content} accent />

For coding agents: /llms/streaming.md, generated from the same source.