# Streaming

> Streaming text with a soft cursor.

## Install

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

## Import

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

## Props

| Prop | Type | Required | Default | Notes |
| --- | --- | --- | --- | --- |
| `className` | `string` | no |  |  |
| `accent` | `boolean` | no | `false` |  |
| `labels` | `Partial<CrateLabels>` | no |  | Replace any of this component's labels. Overrides CrateProvider. |
| `children` | `ReactNode` | no |  |  |
| `text` | `string` | no |  |  |

## Labels

Override with the `labels` prop or a `CrateProvider`.

| Label | English default |
| --- | --- |
| `responseStreaming` | `"Response streaming"` |

## Example

```tsx
<Streaming text={content} accent />
```
