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
Read accordion.tsxRead icon-context.tsxRead badge.tsxRead use-fluid-hover.tsRead components.tsRead postbuild-registry.mjs
Done
Minimal
Ran a command
Done
Streaming
Streaming Text
With Images
Full Example
Reasoning, tools and plans
The build is slow because image optimization runs on every deploy: its cache key includes the commit hash, so nothing is ever reused.
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| Prop | Type | Default |
|---|---|---|
key | string | Required |
open | boolean | Required |
onToggled | (open: boolean) => NoInfer<Msg> | Required |
disabled | boolean | false |
running | boolean | — |
label | View.Input<Msg, R> | (details ? 'Details' : 'Thinking') |
meta | View.Input<Msg, R> | — |
details | readonly string[] | — |
children | View.Children<Msg, R> | — |
className | string | — |
triggerClassName | string | — |
contentClassName | string | — |
compose | (header: View.Content<Msg, R>, panel: View.Content<Msg, R> | undefined) => View.Children<Msg, R> | — |
shape | ShapeVariant | 'rounded' |
size | SizeVariant | 'default' |
surface | number | 1 |
ThinkingStep
Public source
| Prop | Type | Default |
|---|---|---|
key | string | — |
label | string | Required |
icon | "search" | "circle" | "image" | "check" | "globe" | "brain" | "circle-alert" | "loader" | — |
description | string | — |
meta | View.Input<Msg, R> | — |
href | string | — |
status | "error" | "active" | "complete" | "pending" | "upcoming" | 'complete' |
isLast | boolean | — |
animate | boolean | — |
children | View.Children<Msg, R> | — |
shape | ShapeVariant | 'rounded' |
size | SizeVariant | 'default' |
surface | number | 1 |