AI · Application UI
Tool
Collapsible tool-call card that shows a tool's status, JSON parameters, and result or error output for agent chat UIs.
@byronwade/foundation@byronwade/utils@byronwade/badge@byronwade/collapsible@byronwade/ai-code-blockai@phosphor-icons/react
Adapted from Vercel AI Elements , the original components, repurposed onto the byronwade/ui design system (semantic tokens, dark mode, small subtle refinements). © Vercel.
Feature showcase
Installation
Features
1 example
Default.
API
Dependencies
| Package | Kind | Description |
|---|---|---|
| @byronwade/foundation | registry | Installed through the byronwade/ui registry. |
| @byronwade/utils | registry | Installed through the byronwade/ui registry. |
| @byronwade/badge | registry | Installed through the byronwade/ui registry. |
| @byronwade/collapsible | registry | Installed through the byronwade/ui registry. |
| @byronwade/ai-code-block | registry | Installed through the byronwade/ui registry. |
| ai | npm | Installed from npm. |
| @phosphor-icons/react | npm | Installed from npm. |
Source and related
| File | Path |
|---|---|
| Component | registry/components/ai-tool.tsx |
| Default example | content/examples/ai-tool/default.tsx |