Responsive, accessible, typed, copy-pasteable. Built on Radix, shadcn/ui, and Tailwind. Open Source.
pnpm install
pnpm devOpen:
http://localhost:3000/docs/quick-startfor integration walkthroughhttp://localhost:3000/docs/changelogfor release notes and migration promptshttp://localhost:3000/playgroundfor interactive prototype testing
pnpm test
pnpm lint:ci
pnpm registry:check- Run
pnpm devand open/playground. - Add a prototype entry in
lib/playground/registry.ts. - Use an existing preset from
lib/presets/*.tsto render your target tool payload. - Iterate on the matching component under
components/tool-ui/<component>/. - Rebuild registry artifacts with
pnpm registry:build.
For detailed maintainer workflow see CONTRIBUTING.md.
- Approval Card — Binary confirmation for agent actions
- Audio — Audio playback with artwork and metadata
- Chart — Visualize data with interactive charts
- Citation — Display source references with attribution
- Code Block — Display syntax-highlighted code snippets
- Data Table — Sortable columns, row actions, mobile accordion layout
- Image — Display images with metadata and attribution
- Image Gallery — Grid layout for browsing image collections
- Item Carousel — Horizontal carousel for browsing collections
- Link Preview — Rich link previews with OG data
- Option List — Single/multi-select choices with external local/decision actions
- Order Summary — Itemized purchase confirmation with pricing
- Parameter Slider — Numeric parameter adjustment controls
- Plan — Display step-by-step task workflows
- Preferences Panel — Compact settings/preferences surface
- Progress Tracker — Multi-step progress and status surface
- Question Flow — Guided multi-step input/selection flow
- Social Post — X/Instagram/LinkedIn renderers with media previews
- Stats Display — Compact metric cards and deltas
- Terminal — Show command-line output and logs
- Video — Video playback with controls and poster
- Weather Widget — Forecast and conditions surface
Tool UI is maintained by assistant-ui. This repository is optimized for direct maintenance rather than open-ended external contribution flow.
- UI Guidelines — design philosophy and principles
- Changelog — release notes and migration guidance
CONTRIBUTING.md— local maintainer workflow, tests, and component checklist
MIT License — see the LICENSE file for details.
Build Tool UI registry artifacts:
pnpm registry:buildThis generates:
public/r/registry.jsonpublic/r/<component>.json(e.g.public/r/plan.json)
Each component artifact includes only the shared files it directly depends on
(plus lib/ui/cn.ts) instead of requiring a monolithic shared.json.
Create a new component skeleton (component files + docs page + preset stub):
pnpm component:new my-component