DocsSupportPricing
Roadmap (has updates coming soon)XFigma3.7K
Sign inGet All-Access
  1. Components
  2. Trace
  3. Trace Cited Sources
MarkdownShare

Shadcn Trace Cited Sources

Answer with citations. Built by composing Badge, Trace. Uses cn alongside the shadcn primitives. A free, open source shadcn trace example you can install with npx shadcn@latest add @reui/c-trace-6 and edit as your own code.

Numbered citations in a research answer open the sources and move focus to the cited source.

For AI Agents

Hand your agent this brief or the ReUI MCP, not a screenshot. Free to install.

Best for: Inline citation buttons wired to a controlled sources row, focusing the cited link once its panel mounts

When to use

  • Agent turns: reasoning, tool calls, subagents and the sources behind an answer
  • Run logs that expand to output, from CI jobs and data builds to webhook deliveries
  • Checklists of automated checks or setup steps with running, failed and pending states

When not to use

  • One short status line per step with no expanding detail or status color: use the Marker component
  • Dated events or milestones joined by a connecting line: use the Timeline component
  • A complete run console with approvals, log views and an outcome report: use the Agent Activity blocks

Agent notes

  • Citations call showSource, which opens the row through sourcesOpen and focuses a link held in linkRefs
  • Status is shown by color and motion only, so every TraceTitle must also say in words that a step is running, failed or not started
  • A TraceLine on its own is a plain span; wrap it in a link or a Dialog, Sheet or Popover trigger to make it act
Markdownhttps://reui.io/components/trace/c-trace-6.md
MCPget_example("c-trace-6")
Installnpx shadcn@latest add @reui/c-trace-6
Full index for agents:llms.txtReUI MCP setup

Shadcn Components in Trace Cited Sources

  • Badge
  • Trace

Dependencies

  • cn

About Shadcn Trace Cited Sources

Answer with citations. Built by composing Badge, Trace. Uses cn alongside the shadcn primitives. A free, open source shadcn trace example you can install with npx shadcn@latest add @reui/c-trace-6 and edit as your own code.

What You Can Build With Shadcn Trace Cited Sources

  • Composes Badge, Trace, so it drops into any project already using those components.
  • Install it with the shadcn CLI: npx shadcn@latest add @reui/c-trace-6
  • Open source and free, with the full source on this page to copy or adapt.

More Shadcn Trace Examples

  • Agent Steps Agent steps
  • Streaming Run Streaming agent run
  • Chat Turn Chat turn with sources
  • Subagents Parallel subagents
  • Change Approval Terraform change approval
  • Support Copilot Support copilot draft
  • Install Summary CLI install summary
  • CI Pipeline CI pipeline run
  • Request Spans Distributed trace spans
  • Error Breadcrumbs Error breadcrumbs
  • Query Plan SQL query plan
  • Data Pipeline Data pipeline run

Related Shadcn Component Categories

  • Tree

    Open-source shadcn tree components for file explorers, nested navigation, and hierarchical data.

  • Accordion

    Open-source shadcn accordion components for FAQ layouts, settings panels, and help sections.

  • Alert

    Open-source shadcn alert components for status messages, warning banners, and destructive notices.

  • Alert Dialog

    Open-source shadcn alert dialog components for delete confirmations, destructive actions, and critical decisions.

  • Aspect Ratio

    Open-source shadcn aspect ratio components for responsive media, image galleries, and video previews.

  • Attachment

    Open-source shadcn attachment components for chat composers, upload states, and file previews.

Frequently Asked Questions

When should I use Shadcn Trace Cited Sources?

Use it for inline citation buttons wired to a controlled sources row, focusing the cited link once its panel mounts.

Shadcn Trace as a whole fits:

  • Agent turns: reasoning, tool calls, subagents and the sources behind an answer
  • Run logs that expand to output, from CI jobs and data builds to webhook deliveries
  • Checklists of automated checks or setup steps with running, failed and pending states

For one short status line per step with no expanding detail or status color, use the Marker component. For dated events or milestones joined by a connecting line, use the Timeline component. For a complete run console with approvals, log views and an outcome report, use the Agent Activity blocks.

How do I install Shadcn Trace Cited Sources?

Run npx shadcn@latest add @reui/c-trace-6. The CLI copies the source into your project, so you own the code and can edit it freely.

Is Shadcn Trace Cited Sources free to use?

Yes. Every ReUI component example is open source and free for personal and commercial projects.

Which components does Shadcn Trace Cited Sources use?

It composes Badge, Trace. The shadcn CLI installs those alongside the example.
PreviousChange ApprovalNextSupport Copilot

Start building with ReUI Pro today.

Every Pro block, every style, and every future addition, with one license for unlimited projects.

Get All-Access

From $249, once. Lifetime updates.

Application

  • App Shell
  • Auth
  • Card
  • Dashboard
  • Dialog
  • Empty State
  • Event Calendar
  • Flow
  • Form
  • Gantt
  • Kanban Board
  • List
  • Navbar
  • Onboarding
  • Profile
  • Rich Text Editor
  • Schedule
  • Settings
  • Sheet
  • Stats2 meter cards moved here from Charts, 17 in all
  • Timeline
  • Whiteboard
  • Wizard

Data Grid

  • Base
  • AdvancedAdded 2 new Data Grid Advanced blocks, 5 in all
  • Columns
  • Drag & Drop
  • Editing
  • Expansion
  • Filtering
  • Grouping
  • Virtualization

Charts

  • Area ChartAdded a new Inbound Leads area chart block
  • Bar Chart
  • Composed Chart
  • Line Chart
  • Pie Chart
  • Radial Chart
  • Sankey ChartNew Sankey Chart category with 3 flow chart blocks
  • Slope ChartNew Slope Chart category with 2 rank-shift chart blocks
  • Sparkline
  • Status Tracker

AI & Agents

  • AI Chat
  • Agent Activity
  • AI UsageNew AI Usage category with 2 spend blocks

Solutions

  • Dev Ops
  • AI Ops
  • CRM
  • Agents
  • Analytics
  • Billing
  • Bookings
  • Files
  • Inventory
  • Users
  • Digital TwinNew Digital Twin category with 2 interactive 3D blocks

Templates

  • E-commerce
  • SaaS
  • Dashboard
  • Landing
  • All templates

eCommerce

  • Category Card
  • Checkout
  • Comparison
  • Coupon
  • Filter Sidebar
  • Product Card
  • Product Detail
  • Product Grid
  • Receipt
  • Review
  • Shopping Cart
  • Wishlist
  • Shop Hero

Marketing

  • Blog
  • Compare
  • Contact
  • CTA
  • FAQ
  • Hero
  • How It Works
  • Pricing

Resources

  • Components
  • Blocks
  • Icons
  • MCP for Agents
  • Docs
  • Support
  • Pricing
  • Tailwind Plus Alternative
  • Roadmap(has updates coming soon)
  • AffiliateSoon

Legal

  • Privacy Policy
  • Terms & Conditions
  • License
  • Refunds
  • Cookies

© 2026 ReUI. All rights reserved.

3.7K