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
| Prop | Type | Default | Description |
|---|---|---|---|
| className | string | ||
| activeLabel | string | Active (streaming) header label. | |
| doneLabel | string | Settled header label. | |
| query | string | Optional search query row (search variant). | |
| rows | ThinkingTraceRow[] | Trace rows revealed as the sequence advances. | |
| variant | ThinkingTraceVariant | Presentation variant. Defaults to |
Also exports
- component
ThinkingTraceDemo - interface
ThinkingTraceProps - interface
ThinkingTraceRow - type
ThinkingTraceVariant
Composition
Builds on