@tool-ui
Open-source shadcn/ui-based copy-paste components for rendering AI tool-call results as rich interactive widgets in chat interfaces, built by the assistant-ui team. Covers ~25 components across five categories: 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), and Media (Audio, Image, Image Gallery, Video). Each component includes a Zod schema for payload validation. Free MIT. Use for: AI chat applications that need to surface structured tool call outputs as interactive, user-friendly UI rather than raw JSON.
Install this registry
npx shadcn@latest add https://www.tool-ui.com/r/registry.json pnpm dlx shadcn@latest add https://www.tool-ui.com/r/registry.json bunx shadcn@latest add https://www.tool-ui.com/r/registry.json curl -s https://www.tool-ui.com/r/registry.json Components
27 totalBinary confirmation for agent actions.
npx shadcn@latest add https://www.tool-ui.com/r/approval-card.json Audio playback with artwork and metadata.
npx shadcn@latest add https://www.tool-ui.com/r/audio.json Visualize data with interactive charts.
npx shadcn@latest add https://www.tool-ui.com/r/chart.json Display source references with attribution.
npx shadcn@latest add https://www.tool-ui.com/r/citation.json Display syntax-highlighted code snippets.
npx shadcn@latest add https://www.tool-ui.com/r/code-block.json Code Diff component for AI interfaces.
npx shadcn@latest add https://www.tool-ui.com/r/code-diff.json Sortable, responsive data tables for tool call results.
npx shadcn@latest add https://www.tool-ui.com/r/data-table.json Display geolocated entities and fleet positions.
npx shadcn@latest add https://www.tool-ui.com/r/geo-map.json Display images with metadata and attribution.
npx shadcn@latest add https://www.tool-ui.com/r/image.json Grid layout for browsing image collections.
npx shadcn@latest add https://www.tool-ui.com/r/image-gallery.json Render Instagram post previews.
npx shadcn@latest add https://www.tool-ui.com/r/instagram-post.json Horizontal carousel for browsing collections.
npx shadcn@latest add https://www.tool-ui.com/r/item-carousel.json Rich link previews with OG data.
npx shadcn@latest add https://www.tool-ui.com/r/link-preview.json Render LinkedIn post previews.
npx shadcn@latest add https://www.tool-ui.com/r/linkedin-post.json Review and confirm drafted messages before sending.
npx shadcn@latest add https://www.tool-ui.com/r/message-draft.json Single or multi-select choices with confirmation actions.
npx shadcn@latest add https://www.tool-ui.com/r/option-list.json Itemized purchase confirmation with pricing.
npx shadcn@latest add https://www.tool-ui.com/r/order-summary.json Numeric parameter adjustment controls.
npx shadcn@latest add https://www.tool-ui.com/r/parameter-slider.json Display step-by-step task workflows in AI interfaces.
npx shadcn@latest add https://www.tool-ui.com/r/plan.json Compact settings panel for user preferences.
npx shadcn@latest add https://www.tool-ui.com/r/preferences-panel.json Show real-time status feedback for multi-step operations in AI interfaces.
npx shadcn@latest add https://www.tool-ui.com/r/progress-tracker.json Multi-step guided questions with branching.
npx shadcn@latest add https://www.tool-ui.com/r/question-flow.json Display key metrics in compact cards.
npx shadcn@latest add https://www.tool-ui.com/r/stats-display.json Show command-line output and logs.
npx shadcn@latest add https://www.tool-ui.com/r/terminal.json Video playback with controls and poster.
npx shadcn@latest add https://www.tool-ui.com/r/video.json Display weather conditions and forecasts.
npx shadcn@latest add https://www.tool-ui.com/r/weather-widget.json Render X (Twitter) post previews.
npx shadcn@latest add https://www.tool-ui.com/r/x-post.json