Skip to components
DEVELOPER REFERENCE · v4.0.0

AiReasoning API

Props, callbacks and methods. Select an underlined type to explore its fields, allowed values and callback arguments.

AiReasoning8 props1 callbacks0 methods

Props8

AiReasoning props
NameTypeDescription
titleOptionalstring | undefinedHeading or title text used by this component.
isStreamingOptionalboolean | undefinedMarks a message as receiving streamed content.
durationOptionalnumber | undefinedHost-supplied elapsed seconds; no hidden timer or invented reasoning.
childrenOptional
ComponentChildrenInspect type
Content rendered inside the component. Supply nodes from the framework adapter you are using.
classNameOptionalstring | undefinedAdditional CSS classes applied to the component root.
openOptionalboolean | undefinedExpanded or visible state of the surface or disclosure.
defaultOpenOptionalboolean | undefinedInitial expanded state used when open is not controlled.
translationsOptional
AiUiTranslationsInspect type
Overrides the default UI strings. Supply only the entries you want to translate and retain any placeholders.

Events and callbacks1

AiReasoning events and callbacks
NameTypeDescription
onOpenChangeOptional
((open: boolean) => void) | undefinedInspect type
Receives the requested expanded state; update open when using controlled state.

Methods0

No component-specific imperative methods. Use props and callbacks to control this component.