Skip to content
Agentic UI Kit
Buy

RAG Citation Cards

Assistant reply with sources [1]-[n] whose full passage is inspected by hovering over each card.

Full screen Try a theme

About this block

What it's for

  • Assistant reply with sources [1]-[n] whose full passage is inspected by hovering over each card.
  • Support console showing cited knowledge base articles with a quick preview without leaving the conversation.
  • Engineering assistant that cites code files and shows the retrieved snippet on hover.

Includes

  • Numbered source cards
  • Hover intent preview
  • Inline citation linking
  • Relevance score metrics
  • Source type badges
  • Retrieval metadata inspection
  • Pinned preview
  • Empty state

Works with

  • Radix UI primitives (the registry variant it ships in)
  • React 19, Next.js App Router and Tailwind CSS 4, installed with the shadcn CLI
  • Your theme tokens, in light and dark mode

Install

Included with Agentic UI Kit (one-time license). Install needs your license key: see pricing · connect your project.

Agentic UI CLI
agentic-ui add rag-citation-cards
Installs through shadcn and adapts the component to your design tokens.
shadcn CLI
npx shadcn@4.17.0 add @agentic-ui/rag-citation-cards

Used in

A standalone component: drop it into any screen.

Type
Block
Variants
Radix UI
Themes
Light and dark
Widths
Preview it at desktop, tablet and mobile widths above.
Motion
Animated, with a reduced-motion fallback