Skip to content

ThinkingSteps

Chain-of-thought reasoning display with collapsible steps, sequential animation, source badges, and image support.

Installation

Install ThinkingSteps from the Fluid Effect UI registry.

Basic

Searched the web
Read 3 sources
Done

Minimal

Ran a command
Done

Streaming

Streaming Text

With Images

Full Example

Reasoning, tools and plans

Searched the docs0.4s
Failed to run pnpm lint
Replace the imports
Renaming the props…
Run the type checker

API Reference

Types come from the public API. A dash indicates no default is documented here.

ThinkingSteps props

Public source
PropTypeDefault
keystringRequired
openbooleanRequired
onToggled(open: boolean) => NoInfer<Msg>Required
disabledbooleanfalse
runningboolean—
labelView.Input<Msg, R>(details ? 'Details' : 'Thinking')
metaView.Input<Msg, R>—
detailsreadonly string[]—
childrenView.Children<Msg, R>—
classNamestring—
triggerClassNamestring—
contentClassNamestring—
compose(header: View.Content<Msg, R>, panel: View.Content<Msg, R> | undefined) => View.Children<Msg, R>—
shapeShapeVariant'rounded'
sizeSizeVariant'default'
surfacenumber1
ThinkingStep
Public source
PropTypeDefault
keystring—
labelstringRequired
icon"search" | "circle" | "image" | "check" | "globe" | "brain" | "circle-alert" | "loader"—
descriptionstring—
metaView.Input<Msg, R>—
hrefstring—
status"error" | "active" | "complete" | "pending" | "upcoming"'complete'
isLastboolean—
animateboolean—
childrenView.Children<Msg, R>—
shapeShapeVariant'rounded'
sizeSizeVariant'default'
surfacenumber1