Reasoning
Show the work: a thinking panel with a live timer that folds into "Thought for 12s", step lists for tool calls, and shimmering status text.
import { Reasoning, ReasoningSteps, ShimmerText } from "pleate/ai/reasoning";Steps and shimmer
Searching flights from Milan…
Props
- Reasoning active
Open with a timer while true; collapses when done.
boolean- duration / activeLabel / doneLabel
Labels.
number / ReactNode / (s) => ReactNode- ReasoningSteps steps
Progress list.
{ label, detail?, status: "pending" | "active" | "done" | "error" }[]- ShimmerText
Animated label.
active