# Shadcn Streaming Response Components

A wrapper for AI assistant replies that grows while the model is writing and keeps its layout stable when it finishes: copy, retry, helpful and not helpful feedback and a collapsible list of cited sources fade in once the answer is complete. Works with plain text, rendered markdown and Streaming Code blocks.

- Page: https://shadcnuikit.com/components/streaming-response
- Variants: 8 (8 free, 0 pro)
- Built with shadcn/ui, Tailwind CSS v4, React and Next.js

- [Basic](https://shadcnuikit.com/components/streaming-response/1) (Free, install: `npx shadcn@latest add @shadcnuikit/streaming-response1`)
- [Copy, retry and feedback](https://shadcnuikit.com/components/streaming-response/2) (Free, install: `npx shadcn@latest add @shadcnuikit/streaming-response2`)
- [With sources](https://shadcnuikit.com/components/streaming-response/3) (Free, install: `npx shadcn@latest add @shadcnuikit/streaming-response3`)
- [Thinking state](https://shadcnuikit.com/components/streaming-response/4) (Free, install: `npx shadcn@latest add @shadcnuikit/streaming-response4`)
- [Rich content with code](https://shadcnuikit.com/components/streaming-response/5) (Free, install: `npx shadcn@latest add @shadcnuikit/streaming-response5`)
- [Error with retry](https://shadcnuikit.com/components/streaming-response/6) (Free, install: `npx shadcn@latest add @shadcnuikit/streaming-response6`)
- [Inside a chat conversation](https://shadcnuikit.com/components/streaming-response/7) (Free, install: `npx shadcn@latest add @shadcnuikit/streaming-response7`)
- [Stop generation](https://shadcnuikit.com/components/streaming-response/8) (Free, install: `npx shadcn@latest add @shadcnuikit/streaming-response8`)

## Install with the shadcn CLI

Add the registry to components.json once:

```json
"registries": {
  "@shadcnuikit": {
    "url": "https://shadcnuikit.com/r/{name}.json",
    "headers": {
      "Authorization": "Bearer ${REGISTRY_TOKEN}"
    }
  }
}
```

Then install any item by its registry name, for example `npx shadcn@latest add @shadcnuikit/hero1`. Free items install without an API key. Pro items need a license and an API key from https://shadcnuikit.com/account/api-keys, set as REGISTRY_TOKEN in your .env file.

More from Shadcn UI Kit: [llms.txt](https://shadcnuikit.com/llms.txt)