tool-ui

UI components for AI interfaces

Installation
CLI
npx skills add https://github.com/assistant-ui/tool-ui --skill tool-ui

Install this skill with the CLI and start using the SKILL.md workflow in your workspace.

Last updated 4/22/2026
Tool UI

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

Option List component
Question Flow
Multi-step guided questions with branching

Question Flow component

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.

Tool UI component gallery

License

MIT License. See LICENSE for details.