Dev Design Library

Tool

A single tool invocation card with a status taxonomy (pending/running/streaming/completed/error), expandable ToolInput/ToolOutput, a per-tool renderer registry with a Fallback for unregistered tools, and a ToolGroup that collapses consecuti.

Tool preview
Library
LocalMode
Framework
React
Type
component
License
MIT
Dependencies
lucide-react
Install
npx shadcn add @localmode/ui/ui/conversation/tool
Files
  • apps/ui/registry/localmode/conversation/tool/tool.tsx
  • apps/ui/registry/localmode/lib/utils.ts
  • apps/ui/registry/localmode/ui/collapsible.tsx
  • apps/ui/registry/localmode/ui/badge.tsx
Source
https://github.com/LocalMode-AI/LocalMode

Categories

More from LocalMode