AI chat
A full-page AI chat: agent tabs, prompt box, tool calls, sources, artifacts and approvals.
npx wunderui-cli add ai/ai-chatAgent tabs, the prompt box with records and skills, model comparison and past chats.
Components used
33 components from the library, across all 5 variants.
- Sidebar
- Kbd
- Command
- Prompt Input
- Toggle
- Dropdown Menu
- Record Chip
- Chat Attachment
- Prompt Suggestion
- Card
- Badge
- List Item
- Chain of Thought
- Text Shimmer
- Chat Message
- Chat Tool
- Code Block
- Chat Source
- Chat Message Actions
- Context Meter
- Area Chart
- Progress Chart
- Artifact Panel
- Segment
- Sheet
- Agent Avatar
- Agent Status
- Run Timeline
- Approval Card
- Diff View
- Handoff Divider
- List Group
- Floating Panel
Notes for AI
What a coding assistant needs to adapt this block.
npx wunderui-cli add ai/ai-chatNeeds a WunderUI Pro license.
01-home.tsxHome#home02-conversation.tsxConversation#conversation03-artifact.tsxArtifact#artifact04-agent-run.tsxAgent run#agent-run05-quick-chat.tsxQuick chat#quick-chat
One file per variant, each a whole page. Pick the variant closest to the screen you need and keep its components.
_agent.tsx, _data.ts, _parts.tsx in pro/blocks/ai/chat hold the sample data and parts the variants share. The sidebar and top bar come from BlockFrame with accent="orange"; the accent marks the active navigation, chart series 1 and selected states.