Reasoning Steps

Collapsible reasoning stages with controlled process state and sources.

Reasoning Steps

Default

Shows the current stage and source chips, then displays incoming reasoning paragraphs. Once all steps complete, the body collapses into a duration summary; select it to review the reasoning. This replayable local demo updates data on a schedule; applications supply real process state and content.

API

PROPS

Property
Type
Description
default
Example
More
reasoning
string[]
Incrementally appended reasoning paragraphs. Replaces source chips while running; expands from the completed summary.
[]
duration
Number
Elapsed seconds in the completed summary. Omit to measure the current run locally.
—
steps
[]
Ordered steps with stable ids and externally controlled status.
[]
v-model:expanded
Boolean
Controlled disclosure state. Use v-model:expanded to respond to toggles.
false
title
String
Summary override; otherwise shows the running step, failed step, or final step.
—
sources
[]
Source chips. icon accepts an SIcon name; iconSrc accepts a PNG/SVG URL and takes precedence. Only absolute HTTP and HTTPS links are enabled.
[]

EVENTS

Event
Type
Description
default
Example
More
update:expanded
(value: boolean) => void
Disclosure toggle requested.
—
—
step-click
(step: ) => void
Step selected.
—
—

SLOTS

Slot
Scope
Description
default
Example
More
source-icon
{ source: }
Custom source icon; takes precedence over source iconSrc and icon.
—
—
default
—
Replace the default content.
—
—
step
—
Customize a step description.
—
—
Last Updated: 2026-10-28, 06:17:56 UTC
Copied