# Shadcn Tool Call Log

> Tool call log with icon markers

- Type: example, free and open source (MIT)
- Component: [Marker](https://web.dev.reui.io/components/marker.md)
- Page: https://web.dev.reui.io/components/marker/c-marker-2
- Docs (Base UI): https://ui.shadcn.com/docs/components/base/marker.md
- Docs (Radix UI): https://ui.shadcn.com/docs/components/radix/marker.md
- MCP: `get_example("c-marker-2")`
- Registry item: https://web.dev.reui.io/r/styles/base-nova/c-marker-2.json
- Uses: Marker

## Best for

A bare column of 6 tool calls, each led by an icon for its action, with no card, status or grouping

## Agent notes

- `TOOL_CALLS` is sample data; map your run's tool calls onto its `id`, `label` and `icon` fields

## When not to use

- Steps that belong under named phases such as plan, edit and verify: use [Phase Separators](https://web.dev.reui.io/components/marker/c-marker-4.md) (`get_example("c-marker-4")`)
- A run where some steps failed or are still in progress: use [Run Status](https://web.dev.reui.io/components/marker/c-marker-3.md) (`get_example("c-marker-3")`)

## Install

```bash
npx shadcn@latest add @reui/c-marker-2
```

## About Shadcn Marker

### When to use

- Agent run logs and tool call lists, one short line of status text per step
- Labeled dividers that split a transcript or run log into named phases
- Ruled summaries such as changed files, and rows that open a link or run an action

### When not to use

- A plain horizontal or vertical rule between content sections or menu items: use [Separator](https://web.dev.reui.io/components/separator.md) (`get_component("separator")`)
- A complete run console with approval steps, log views or an outcome report: use the [Agent Activity blocks](https://web.dev.reui.io/blocks/ai-agents/agent-activity.md)
- Dated events or milestones joined by indicator dots and a connecting line: use [Timeline](https://web.dev.reui.io/components/timeline.md) (`get_component("timeline")`)

### Agent notes

- Make a row a link or button with `render` on the base twin and `asChild` on the radix twin
- `MarkerIcon` is `aria-hidden` with everything inside it, so the `MarkerContent` text alone must say what the row means
- An svg in `MarkerIcon` takes each style's icon size only while it carries no size class of its own

Every ReUI item has a twin like this one; the index is https://web.dev.reui.io/llms.txt. Agents with the ReUI MCP (https://web.dev.reui.io/docs/mcp) get the same guidance from the getters named above.
