Chat 1 – A conversation wired to the AI SDK
- from @shadcncraft
A chat that answers the moment it lands on a page, built on the Vercel AI SDK. The message list and the composer come with it, and text, reasoning, tool calls, citations and attachments each get a renderer of their own, so a stream arrives drawn rather than as raw JSON. A scripted conversation stands in until you point it at your own model.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @shadcncraft/chat-1Registry dependencies16
- attachment
- bubble
- button
- empty
- marker
- message
- message-scroller
- tooltip
- @shadcncraft/composer-1
- @shadcncraft/file-part-1
- @shadcncraft/questionnaire-part-1
- @shadcncraft/reasoning-part-1
- @shadcncraft/sources-part-1
- @shadcncraft/text-part-1
- @shadcncraft/tool-part-1
- @shadcncraft/web-search-part-1
