Displays the steps, tool calls, and status updates produced while completing a task.
Loading...
Installation
Install the following dependencies:
Copy and paste the following code into your project.
Loading...
Update the import paths to match your project setup.
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...
Link
Loading...
Plan
Loading...
Status
Loading...
Streaming Reasoning
Loading...
Streaming Text
Loading...
Subagents
Loading...
Task List
Loading...
Test Results
Loading...
Thinking
Loading...
Tool Calls
Loading...
Web Search
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
| Input | Type | Default | Description |
|---|---|---|---|
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
| Input | Type | Default | Description |
|---|---|---|---|
id | string | undefined | generated | Unique identifier used to create the collapsible part IDs. |
ids | Partial<CollapsibleElementIds> | undefined | — | Overrides the generated IDs for individual parts. |
open | boolean | undefined | — | Open state when controlled. |
defaultOpen | boolean | false | Initial open state when uncontrolled. |
disabled | boolean | false | Disables interaction with the collapsible trigger. |
collapsedHeight | number | string | undefined | — | Height retained while the content is collapsed. |
collapsedWidth | number | string | undefined | — | Width retained while the content is collapsed. |
lazyMount | boolean | false | Defers mounting the content until it is first opened. |
unmountOnExit | boolean | false | Unmounts the content after its closing transition finishes. |
Outputs
| Output | Type | Description |
|---|---|---|
openChange | CollapsibleOpenChangeDetails | Emits details whenever the open state changes. |
exitComplete | void | Emits after the closing transition completes. |
<app-trace-collapsible-content>
Inputs
| Input | Type | Default | Description |
|---|---|---|---|
class | string | "" | 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
| Export | Angular API |
|---|---|
TraceImports | Readonly collection containing all trace directives and components. |
Angular
React
Solid
Svelte
Vue