Skip to content
← Inventory

ThinkingTrace

Expandable agent thinking / tool / search trace.

Usage

import { ThinkingTrace, ThinkingTraceDemo, ThinkingTraceProps, ThinkingTraceRow, ThinkingTraceVariant } from "@desk/ui/components/thinking-trace";

Best practices

  • Pair above streaming answers in chat. Use ThinkingLoader when you only need a one-line narrated header without an expandable timeline.

Props

PropTypeDefaultDescription
classNamestring
activeLabelstring

Active (streaming) header label.

doneLabelstring

Settled header label.

querystring

Optional search query row (search variant).

rows(required)ThinkingTraceRow[]

Trace rows revealed as the sequence advances.

variantThinkingTraceVariant

Presentation variant. Defaults to "steps".

Also exports

  • componentThinkingTraceDemo
  • interfaceThinkingTraceProps
  • interfaceThinkingTraceRow
  • typeThinkingTraceVariant

Composition

Builds on

Text