Dev Design Library

Chain of Thought

A structured step-by-step reasoning timeline (distinct from free-text Reasoning): labeled steps with per-step status and icons, and nested slots for embedded retrieved sources and images, collapsing to one line on completion. Data source: u.

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

Categories

More from LocalMode