# Shadcn Basic Variants

> Default, separator, and border 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-1
- 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-1")`
- Registry item: https://web.dev.reui.io/r/styles/base-nova/c-marker-1.json
- Uses: Marker

## Best for

The 3 variant shapes stacked with no icons: a plain line, a labeled divider and a line ruled underneath

## When not to use

- A bare rule under a section heading, or a centered label over a form divider: use [Separator](https://web.dev.reui.io/components/separator.md) (`get_component("separator")`)

## Install

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

## 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.
