Skip to content

Chain of Thought

A collapsible trace of an agent's reasoning steps.

Installation

pnpm dlx shadcn@latest add @frontal-labs/chain-of-thought

Usage

import {
  ChainOfThought,
  ChainOfThoughtHeader,
  ChainOfThoughtStep,
  ChainOfThoughtSearchResults,
  ChainOfThoughtSearchResult,
  ChainOfThoughtContent,
  ChainOfThoughtImage,
} from "@/components/chain-of-thought";

API Reference

Open the source under Manual above for the exact prop types.