Reasoning
Preview

Collapsible reasoning disclosure for AI thinking text.

Overview

Reasoning displays model reasoning or thinking text behind a collapsible trigger. Consumers own the text, streaming status, and persistence.

The trigger shows active thinking with isStreaming, auto-opens when reasoning starts, and auto-closes after reasoning finishes.

Usage

import {
  Reasoning,
  ReasoningContent,
  ReasoningTrigger,
} from "@tilt-legal/cubitt-components/chat-elements";

Examples

Default

Streaming

On this page