Shadcn Marker
Browse 6 production-ready Shadcn Marker components for agent run logs, tool call rows, live run status, and labeled dividers inside a transcript. Shadcn Marker ships in a Radix UI build and a Base UI build and is fully aligned with Shadcn Create style options, so the radius, fonts, and color tokens in these previews match the code you export.
Shadcn Marker: Run Logs, Status Rows, and Labeled Separators
Shadcn Marker is a single-line row for small status text. It has 3 parts (Marker for the row, MarkerIcon for the glyph, MarkerContent for the text) and one variant prop that sets the shape. It ships in a Radix UI build and a Base UI build from the same structure, and Shadcn Create radius, font, and color tokens apply to it like any other primitive.
On screen it renders muted, small text with a fixed icon column, so a long column of rows stays aligned however much the labels differ in length. The separator variant turns the same row into a divider that carries a label, and the border variant draws a rule under it.
ReUI shows markers where they actually get used: tool call logs, run status columns with one step still in flight, agent transcripts grouped by phase, and changed-file summaries, next to Shadcn Badge, Shadcn Card, and Shadcn Spinner. The sections below cover what the component is, why teams use it, which features matter, and how it fits into a larger surface.
What is Shadcn Marker?
In UI terms, a marker is one line of secondary text with an optional glyph in front of it. Shadcn Marker fixes that structure so you stop rebuilding it in every file: Marker is the flex row, MarkerIcon is the icon slot, and MarkerContent is the text. MarkerIcon is aria-hidden, so the glyph stays decorative and MarkerContent carries the meaning of the row.
The variant prop takes 3 values. Default is a plain row. Separator draws a hairline rule on both sides of the label, so a divider can read Planning or Verify instead of nothing. Border adds a rule under the row, which turns a short list into ruled lines. The 6 components here show all 3, with icons, status badges, a step that is still running, and markers rendered as links and as a button.
Why Use Shadcn Marker?
Agent consoles, chat threads, and activity feeds are mostly made of these rows, and writing them by hand means re-deciding icon size, text color, and row rhythm in each file until they drift apart. Marker moves those decisions into the style layer. MarkerIcon never shrinks and MarkerContent is min-width zero with word breaking, so a long file path wraps inside the row instead of widening it.
The same rows are what the paid blocks are assembled from. 14 of the 17 blocks in AI and Agents import Marker directly, 11 in AI Chat and 3 in Agent Activity. The examples on this page are the row on its own; those blocks are the screen around it, with approval steps, Summary, Detailed and Raw log views, and a run outcome report.
Shadcn Marker Features
- 3 Variants. One variant prop switches the row between a plain line, a labeled separator with a rule on each side, and a bordered row with a rule underneath.
- Decorative Icon Slot. MarkerIcon holds an icon or a Shadcn Spinner and is aria-hidden by construction, so a screen reader reads the content text once and never announces the glyph.
- Per-Style Icon Sizing. An icon that carries no size class of its own takes the size the active style defines, so the same markup reads correctly in the compact styles and the roomy ones.
- Long Text Handling. MarkerContent is min-width zero and breaks long words, so a file path, a URL, or a command wraps inside the row rather than pushing it past its container.
- Polymorphic Root. Render the row as an anchor or a button with render in the Base UI build or asChild in the Radix UI build. An anchor root picks up an underline and a hover color from the style layer.
- Shadcn Create Compatible. All 8 Shadcn Create styles (Vega, Nova, Maia, Lyra, Mira, Luma, Sera, and Rhea) and the Radius, Font Family, and Color Scale controls apply to marker previews and to the code you export.
Shadcn Marker in Chat and Agent Interfaces
In a chat thread, markers are the lines that are not messages: a system note, a tool the assistant just called, a dated divider between sessions. They sit between Shadcn Message rows and Shadcn Bubble turns without competing with them, because the muted small scale reads as chrome rather than as content. Keep a labeled divider as a plain marker and do not give it role="separator", since a separator takes its name from aria-label and treats its contents as presentational, which would drop the visible label.
In a run panel, wrap the column in a Shadcn Card, group the phases with separator markers, and put a Shadcn Spinner in the icon slot of the step that is still running, with role="status" on that row. Status color belongs on a Shadcn Badge inside the content rather than on the row text, so the row keeps the same muted scale in every style. For a long log, a Shadcn Scroll Area bounds the height without changing the rows.
Integrating With Other Components
Use markers as the non-message lines of a conversation. Place them between Shadcn Message rows and Shadcn Bubble turns for system notes and tool calls, add a separator marker as a dated divider between sessions, and keep Shadcn Attachment cards and Shadcn Message Scroller behavior around them unchanged.
In a run panel, wrap markers in a Shadcn Card and carry state with a Shadcn Badge in the content, a Shadcn Spinner in the icon slot, and a Shadcn Progress bar above the column. Fold a finished phase into a Shadcn Collapsible, bound a long log with a Shadcn Scroll Area, and switch to Shadcn Timeline when the run needs a rail rather than a flat list.
For the assembled screen, ReUI Pro ships 17 AI and Agents blocks on these same primitives: 12 in AI Chat and 5 in Agent Activity, covering approval steps, a live run feed with Summary, Detailed and Raw views, a research trace, an MCP call table, and a run outcome report. 14 of them import Marker directly, so the rows on this page are the exact parts those blocks are built from.
AI & Agents Blocks in ReUI Pro
The free ai & agents examples above cover focused, single purpose patterns. ReUI Pro extends them with 17 production ready ai & agents blocks, complete sections that compose the same primitives into full screens. Browse them by category:
- AI Chat (12 blocks)Conversation surfaces for AI products, from full chat shells to embeddable threads, sheets, and launchers.
- Agent Activity (5 blocks)Agent run views, from live step feeds and approvals to research traces, MCP call tables, and run reports.
Frequently Asked Questions
Start building with ReUI Pro today.
Every Pro block, every style, and every future addition, with one license.
From $249, once. Lifetime updates.