AI Response
An answer that streams in with its receipts – hover any citation to see the source, then copy, regenerate or rate it.
When to use
- An answer that streams in with its receipts – hover any citation to see the source, then copy, regenerate or rate it.
- You want a chat piece that already handles empty, loading and dark states.
Installation
Add AI Response with the shadcn CLI – your project needs a components.json – or copy the file by hand.
Pro items install with your personal access key – set it up once, then the command below works.
$ npx shadcn@latest add https://ui.elysiumdesigns.in/r/ai-response.jsonAPI reference
AIResponse
| Prop | Type | Default | Description |
|---|---|---|---|
className | string | – | Extra classes on the root element. |
look | "classic" | "clean" | "classic" | Visual style. Both follow your light or dark theme. |