π¦
Tool UI
UI components for AI interfaces
0 installs
543 stars
22 forks
Trust: 87 β Excellent
Ai
Installation
npx tool-uiAsk AI about Tool UI
Powered by Claude Β· Grounded in docs
I know everything about Tool UI. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Loading tools...
Reviews
Documentation
Copy/paste React components for rendering tool calls in AI chat interfaces. Built by assistant-ui.
Docs Β· Gallery Β· Quick Start
When a model calls a tool, most apps dump raw JSON into the conversation. These components turn tool payloads into interactive UI like approvals, forms, tables, charts, and media cards so users can understand and act without leaving the chat.
Featured Components
|
Option List Let users select from multiple choices
|
Question Flow Multi-step guided questions with branching
|
Why Tool UI?
- Copy/paste, not install β shadcn/ui model. Components live in your codebase. No dependency lock-in.
- Schema-validated β Every component has a Zod schema. Parse tool output, render when valid, fail safely when not.
- Interactive with receipts β Components aren't just displays. Users make choices that flow back to the assistant. Choices persist as receipts.
- Built on shadcn/ui β Radix primitives, Tailwind styling, your theme. No new design system to learn.
Components
- Progress: Plan, Progress Tracker
- Input: Option List, Parameter Slider, Preferences Panel, Question Flow
- Display: Citation, Geo Map, Item Carousel, Link Preview, Stats Display, Terminal, Weather Widget
- Artifacts: Chart, Code Block, Code Diff, Data Table, Instagram Post, LinkedIn Post, Message Draft, X Post
- Confirmation: Approval Card, Order Summary
- Media: Audio, Image, Image Gallery, Video
Each component includes a Zod schema for payload validation and presets for realistic example data. Browse them all in the Gallery.
License
MIT License. See LICENSE for details.
