# streamTarget

> Styles for a reply that streams in with `revealStream()`: a block the text has not reached stays out of the layout, and a reply still pending is unpainted while scripts run and motion is allowed, so the finished text never flashes before its replay starts.

```ts
import { streamTarget } from "@sdxc/ui/chat";
```

Put on the element a reply streams into, the one carrying `data-stream-pending`. Without
scripts, or under reduced motion, the reply shows whole at once; with them it waits for
the replay, and shows whole after FALLBACK_DELAY if the replay never starts.

## Signature

```ts
streamTarget()
```

Returns: The mixins to spread into the reply's `mix`.

## Examples

```tsx
<div id="reply-7" data-stream-pending mix={[streamTarget()]}>…</div>
```
