Dev Design Library

Reasoning

The model's own thinking tokens (DeepSeek-R1 style) in a collapsible region: auto-expands while streaming with an elapsed timer and auto-collapses on the final answer, plus a compact ThinkingBar one-line status strip. Tier of the thinking t.

Reasoning preview
Library
LocalMode
Framework
React
Type
component
License
MIT
Dependencies
lucide-react
Install
npx shadcn add @localmode/ui/ui/conversation/reasoning
Files
  • apps/ui/registry/localmode/conversation/reasoning/reasoning.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