Skip to content
Get Pro

Reasoning Text

A timed reasoning stream that follows the latest thought, then folds into an inspectable duration summary.

Installation

Add the component source directly to your project.

pnpm dlx shadcn@latest add https://pastaui.com/r/reasoning-text.json

API reference

Reasoning Text

Reasoning Text properties
PropTypeDefaultDescription
sentencesreadonly string[]Provides the reasoning steps revealed by the stream.
delaysreadonly number[][700, 900, 800, 850, 800, 900]Controls the reveal cadence for each reasoning step.
collapseDelaynumber360Waits before folding the completed reasoning into its summary.
defaultOpenbooleanfalseKeeps completed reasoning expanded by default.
thinkingLabelstringThinking…Labels the active reasoning state.