
Installs all 24 components. Without our CLI, run instead.
tool-ui publishes a shadcn registry at tool-ui.com, with 24 components installable through the shadcn CLI.
Copy a prompt for your agent, copy the install command, or open the docs that ship it.
Binary confirmation for agent actions.
Audio playback with artwork and metadata.
Display syntax-highlighted code snippets.
Code Diff component for AI interfaces.
Display geolocated entities and fleet positions.
Display images with metadata and attribution.
Grid layout for browsing image collections.
Render Instagram post previews.
Render LinkedIn post previews.
Single or multi-select choices with confirmation actions.
Itemized purchase confirmation with pricing.
Numeric parameter adjustment controls.
Display step-by-step task workflows in AI interfaces.
Compact settings panel for user preferences.
Multi-step guided questions with branching.
Display key metrics in compact cards.
Show command-line output and logs.
Video playback with controls and poster.
Display weather conditions and forecasts.
Render X (Twitter) post previews.
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.
Option List
Let users select from multiple choices
Question Flow
Multi-step guided questions with branching
Each component includes a Zod schema for payload validation and presets for realistic example data. Browse them all in the Gallery.
MIT License. See LICENSE for details.
The packages and primitives its components pull in, counted across the registry.
tool-ui is a component library on 21st.dev by tool-ui with 1 public React component. Every component ships with a live interactive preview and full TSX source — copy the code, install it through the shadcn CLI, or pull it into Cursor or Claude Code over MCP.