Skip to main content

Reasoning

Show a model's thinking: a shimmer while it thinks, then how long it took, folding open to the steps, built on Base UI.

View as Markdown

Installation

Component API

PropTypeDefaultDescription
childrenReactNode-The steps of the thinking, shown when it is open.
The steps of the thinking, shown when it is open.
thinkingbooleanfalseStill thinking: a shimmering line, open on its steps.
Still thinking: a shimmering line, open on its steps.
secondsnumber-How long it thought, for the line once it is done.
How long it thought, for the line once it is done.
defaultOpenbooleanfalse
shapenone | rounded | pillrounded
classNamestring-
focusboolean | stringtrue