EXEPERTAI LAB

Research alpha

Time Machine
EXEPERTAI LAB
GALLERY / COLLECTION
← Browse Astryx gallery
Chat·component·@astryxdesign/labExperimental

Chat Reasoning

Compact collapsible container for displaying model reasoning or chain-of-thought details. Shows a single-line summary when collapsed and expands to reveal full reasoning text.

@astryxdesign/lab

Usage

Compact collapsible container for displaying model reasoning or chain-of-thought details. Shows a single-line summary when collapsed and expands to reveal full reasoning text.

Typed props

PropType and behavior
childrenReactNode · required
Reasoning content string or custom ReactNode.
labelstring · default 'Thinking'
Header label displayed in the trigger line.
durationstring
Duration string shown next to the label (e.g. "12s").
isStreamingboolean · default false
Whether reasoning content is actively streaming. Displays animated shimmer effect.
isExpandedboolean
Controlled expanded state.
defaultIsExpandedboolean · default false
Default expanded state for uncontrolled usage.
onExpandedChange(isExpanded: boolean) => void
Callback fired when the expanded state changes.
xstyleStyleXStyles
StyleX styles for layout customization.