Markers as links and as an action button
For AI Agents
Hand your agent this brief or the ReUI MCP, not a screenshot. Free to install.
Best for: A pair of underlined link rows over a button row that flips between revert and undo, announced in a live region
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 standalone action or link styled as a control, outside a list of status lines: use the Button component
- Status lines that only report what a run did, with nothing to click: use the Marker Tool Call Log example
- A plain horizontal or vertical rule between content sections or menu items: use the Separator component
- A complete run console with approval steps, log views or an outcome report: use the Agent Activity blocks
- Dated events or milestones joined by indicator dots and a connecting line: use the Timeline component
Agent notes
- Both link rows keep a placeholder
href; point them at your pull request and diff pages - The revert row only flips local
revertedstate; call your revert action from itsonClick - Make a row a link or button with
renderon the base twin andasChildon the radix twin MarkerIconisaria-hiddenwith everything inside it, so theMarkerContenttext alone must say what the row means- An svg in
MarkerIcontakes each style's icon size only while it carries no size class of its own
https://web.dev.reui.io/components/marker/c-marker-6.mdget_example("c-marker-6")npx shadcn@latest add @reui/c-marker-6Shadcn Components in Marker Links & Action
About Shadcn Marker Links & Action
Markers as links and as an action button. Built with the Marker component. A free, open source shadcn marker example you can install with npx shadcn@latest add @reui/c-marker-6 and edit as your own code.
What You Can Build With Shadcn Marker Links & Action
- Composes Marker, so it drops into any project already using those components.
- Install it with the shadcn CLI: npx shadcn@latest add @reui/c-marker-6
- Open source and free, with the full source on this page to copy or adapt.
More Shadcn Marker Examples
- Basic Variants Default, separator, and border markers
- Tool Call Log Tool call log with icon markers
- Run Status Run status markers with a live step
- Phase Separators Agent run log grouped by phase separators
- Changed Files Changed files summary with border markers
Related Shadcn Component Categories
Open-source shadcn menubar components for desktop navigation, editor menus, and app commands.
Open-source shadcn message components for chat transcripts, assistant replies, and support threads.
Open-source shadcn message scroller components for chat transcripts, streaming replies, and jump-to-latest scrolling.
Open-source shadcn native select components for lightweight selects, mobile-friendly forms, and basic option picking.
Open-source shadcn navigation menu components for site navigation, mega menus, and product navigation.
Open-source shadcn number field components for quantity pickers, pricing inputs, and step controls.
Frequently Asked Questions
When should I use Shadcn Marker Links & Action?
Use it for a pair of underlined link rows over a button row that flips between revert and undo, announced in a live region.
Shadcn Marker as a whole fits:
- 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
For a standalone action or link styled as a control, outside a list of status lines, use the Button component. For status lines that only report what a run did, with nothing to click, use the Marker Tool Call Log example. For a plain horizontal or vertical rule between content sections or menu items, use the Separator component. For a complete run console with approval steps, log views or an outcome report, use the Agent Activity blocks. For dated events or milestones joined by indicator dots and a connecting line, use the Timeline component.
How do I install Shadcn Marker Links & Action?
Is Shadcn Marker Links & Action free to use?
Which components does Shadcn Marker Links & Action use?
Start building with ReUI Pro today.
Every Pro block, every style, and every future addition, with one license for unlimited projects.
From $249, once. Lifetime updates.