Skip to content
Chat & AI

Chain Of Thought

A collapsible trail of model reasoning steps.

Import

tsx
import { ChainOfThought } from "@cronus-ui/ui";
bash
npx cronus-ui add chain-of-thought

Examples

.cronus

No audit fixture declares this family in .cronus yet.

React onlyParity: Not portedParity scoreboard

API Reference

Generated from the component's exported types.

ChainOfThoughtLabels

Skip ChainOfThoughtLabels props table
PropTypeDefaultDescription
header*
string——

ChainOfThoughtProps

Extends HTMLAttributes<HTMLDivElement>

Skip ChainOfThoughtProps props table
PropTypeDefaultDescription
open
boolean—Controlled open state.
defaultOpen
booleanfalseUncontrolled initial open state.
onOpenChange
(open: boolean) => void—Called when the open state changes.
labels
Partial<ChainOfThoughtLabels>—Override default English strings.
className
string—Additional class names merged onto the root.
children
ReactNode—Contents of the component.
id
string—DOM id of the root element.

ChainOfThoughtHeaderProps

Extends ComponentProps<typeof CollapsibleTrigger>

Skip ChainOfThoughtHeaderProps props table
PropTypeDefaultDescription
asChild
boolean—Render as the child element via Slot.
children
ReactNode—Contents of the component.
className
string—Additional class names merged onto the root.

ChainOfThoughtStepProps

Extends HTMLAttributes<HTMLDivElement>

Skip ChainOfThoughtStepProps props table
PropTypeDefaultDescription
icon
LucideIcon——
label*
string——
description
string——
status
"complete" | "active" | "pending""complete"—
className
string—Additional class names merged onto the root.
children
ReactNode—Contents of the component.
id
string—DOM id of the root element.

ChainOfThoughtSearchResultsProps

Extends HTMLAttributes<HTMLDivElement>

Skip ChainOfThoughtSearchResultsProps props table
PropTypeDefaultDescription
className
string—Additional class names merged onto the root.
children
ReactNode—Contents of the component.
id
string—DOM id of the root element.

ChainOfThoughtSearchResultProps

Extends ComponentProps<typeof Badge>

Skip ChainOfThoughtSearchResultProps props table
PropTypeDefaultDescription
asChild
boolean—Render as the child element via Slot.
children
ReactNode—Contents of the component.
className
string—Additional class names merged onto the root.

ChainOfThoughtContentProps

Extends ComponentProps<typeof CollapsibleContent>

Skip ChainOfThoughtContentProps props table
PropTypeDefaultDescription
forceMount
boolean—Keep the node mounted when closed, for exit animation.
asChild
boolean—Render as the child element via Slot.
children
ReactNode—Contents of the component.
className
string—Additional class names merged onto the root.

ChainOfThoughtImageProps

Extends HTMLAttributes<HTMLDivElement>

Skip ChainOfThoughtImageProps props table
PropTypeDefaultDescription
caption
string——
className
string—Additional class names merged onto the root.
children
ReactNode—Contents of the component.
id
string—DOM id of the root element.