Search documentation

Search the documentation and open a page.

Displays the steps, tool calls, and status updates produced while completing a task.

Loading...

Installation

pnpm dlx shadcn@latest add @wirekyt/trace

Composition

[appTrace] ├── [appTraceLine] │ ├── [appTraceIcon] (optional) │ ├── [appTraceTitle] │ └── [appTraceDescription] (optional) └── <app-trace-collapsible> (optional) ├── <app-trace-collapsible-trigger> │ ├── [appTraceLine] │ └── generated chevron icon └── <app-trace-collapsible-content>

Examples

Code Interpreter

Loading...

Collapsible

Loading...

Connectors

Loading...

Deep Research

Loading...

Default

Loading...

Description

Loading...

Error Retry

Loading...

Files

Loading...

Line

Loading...
Loading...

Plan

Loading...

Status

Loading...

Streaming Reasoning

Loading...

Streaming Text

Loading...

Subagents

Loading...

Task List

Loading...

Test Results

Loading...

Thinking

Loading...

Tool Calls

Loading...
Loading...

Whole Turn

Loading...

API Reference

[appTrace]

A styling-only directive that arranges trace lines and collapsible trace sections. It has no inputs or outputs.

[appTraceLine]

Inputs

InputTypeDefaultDescription
status"running" | "error" | "pending"—Sets the visual state of the line.

The [appTraceIcon], [appTraceTitle], and [appTraceDescription] directives are styling-only and have no inputs or outputs. appTraceIcon also applies aria-hidden="true".

<app-trace-collapsible>

Inputs

InputTypeDefaultDescription
idstring | undefinedgeneratedUnique identifier used to create the collapsible part IDs.
idsPartial<CollapsibleElementIds> | undefined—Overrides the generated IDs for individual parts.
openboolean | undefined—Open state when controlled.
defaultOpenbooleanfalseInitial open state when uncontrolled.
disabledbooleanfalseDisables interaction with the collapsible trigger.
collapsedHeightnumber | string | undefined—Height retained while the content is collapsed.
collapsedWidthnumber | string | undefined—Width retained while the content is collapsed.
lazyMountbooleanfalseDefers mounting the content until it is first opened.
unmountOnExitbooleanfalseUnmounts the content after its closing transition finishes.

Outputs

OutputTypeDescription
openChangeCollapsibleOpenChangeDetailsEmits details whenever the open state changes.
exitCompletevoidEmits after the closing transition completes.

<app-trace-collapsible-content>

Inputs

InputTypeDefaultDescription
classstring""Additional classes applied to the content panel.

<app-trace-collapsible-trigger> has no inputs or outputs and renders a button with a generated chevron icon.

Utilities

ExportAngular API
TraceImportsReadonly collection containing all trace directives and components.