UI for AI agents

Build an AI chat UI in React

Every AI chat app needs the same three surfaces: a composer to send prompts, bubbles to render the conversation, and streaming output as the model responds. These components give you all three — accessible, themeable, and ready to wire to any model or agent runtime.

Components you'll use

Install

Add every component above with the shadcn CLI. You own the source after install.

pnpm dlx shadcn@latest add https://ui.vllnt.ai/r/ai-chat-input.json
pnpm dlx shadcn@latest add https://ui.vllnt.ai/r/ai-message-bubble.json
pnpm dlx shadcn@latest add https://ui.vllnt.ai/r/ai-streaming-text.json
pnpm dlx shadcn@latest add https://ui.vllnt.ai/r/ai-sidebar.json

Frequently asked

What components do I need for an AI chat UI?
A composer (AI Chat Input), a way to render turns (AI Message Bubble), and streaming output (AI Streaming Text). AI Sidebar lets you embed the chat as a co-pilot beside an existing app.
Does this work with the Vercel AI SDK or my own backend?
Yes. The components are presentational — wire their callbacks and state to the Vercel AI SDK, LangChain, or any custom streaming endpoint.