ThinkingPanel

Reasoning disclosure. It shimmers and reveals lines while thinking, then folds into Thought for Ns. AI.

Open playground

About

ThinkingPanel is a React component in the AI category of smoui. It is typed, ships no stylesheet, follows your theme through CSS variables, and honors prefers-reduced-motion. Import it with import { ThinkingPanel } from "@ashutoshswamy/smoui" and set steps, status, stepEvery.

Install

Terminal
npm i @ashutoshswamy/smoui

Usage

TSX
import { ThinkingPanel } from "@ashutoshswamy/smoui";

<ThinkingPanel steps={["Reading the request", "Drafting the answer"]} status={done ? "done" : "thinking"} />

Props 3

steps

Reasoning lines, revealed one by one.

string[]
status

Controlled state. Without it the panel plays itself.

"thinking""done"
stepEvery / loop

Seconds between lines; replay for demos.

number / booleandefault 1.1 / false