UI pour les agents IA

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.

Composants que vous utiliserez

Installation

Ajoutez chaque composant ci-dessus avec la CLI shadcn. Vous possedez le source apres installation.

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

Questions frequentes

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.