UIInternal UI

AI Elements

Reasoning

@randall-enterprises/ui/components/ai-elements/reasoning

Streaming thought block with duration, trigger, and collapsible content.

Props (7)

Inherits everything from Collapsible props; CollapsibleTrigger props; CollapsibleContent props.

isStreamingboolean
openboolean
defaultOpenboolean
onOpenChange(open: boolean) => void
durationnumber
getThinkingMessage(isStreaming: boolean, duration?: number) => ReactNode
children *string

Checked the registry, then composed the specimen.