---
site: ui.zyx.tw
url: https://ui.zyx.tw/figure-trace
title: Trace Figure
description: "A run replayed one event a press: who sent what, and the line to take from it, with the record growing on screen."
---

# Trace Figure

A run replayed one event a press: who sent what, and the line to take from it, with the record growing on screen.

Group: Figures.

## Install

```bash
bunx shadcn@latest init https://ui.zyx.tw/r/base.json
bunx shadcn@latest add @zyx1121/figure-trace
```

The first line sets a project up on the base; skip it if the project already has it.

## Item

### Trace Figure (`figure-trace`)

A run replayed one event a press: who sent what, and the line to take from it, with the record growing on screen.

- Use when: A run of messages, such as an agent's tool calls, replayed step by step.
- Not for: Logs to search; use table.
- Related: [scrolly](https://ui.zyx.tw/scrolly.md), [figure-diagram](https://ui.zyx.tw/figure-diagram.md)
- Categories: figure, motion
- Install: `bunx shadcn@latest add https://ui.zyx.tw/r/figure-trace.json`
- JSON: [figure-trace.json](https://ui.zyx.tw/r/figure-trace.json)
- Page: [https://ui.zyx.tw/figure-trace](https://ui.zyx.tw/figure-trace) ([Markdown](https://ui.zyx.tw/figure-trace.md))
- Registry dependencies: `https://ui.zyx.tw/r/utils.json`

## More

- [Index](https://ui.zyx.tw/index.md): every item
- [Agent instructions](https://ui.zyx.tw/agent-instructions.md): the call order and the rules
- [DESIGN.md](https://github.com/zyx1121/www.zyx.tw/blob/main/apps/ui/DESIGN.md): the design contract
