Component registry

UI Components

Like shadcn/ui, but for the query side of RAG. Copy the component into your project β€” no install β€” and point it at your pipeline's endpoint. Every component is React + Tailwind with zero extra dependencies.

RagChat

<RagChat />

Drop-in chat UI with grounded answers and inline source chips.

INTEGRATIONNext.js Route
PEER DEPSTailwind
PROP COUNT6
Chat
INTEGRATE
πŸ”

RagSearchBox

<RagSearchBox />

Debounced search with highlighted result snippets.

INTEGRATIONNext.js Route
PEER DEPSTailwind
PROP COUNT6
Search
INTEGRATE

RagUpload

<RagUpload />

Drag-and-drop ingestion with live per-file progress.

INTEGRATIONNext.js Route
PEER DEPSTailwind
PROP COUNT5
Ingestion
INTEGRATE
[1] pdf[2] site

SourceCitation

<SourceCitation />

Render the source chunks behind an answer, expandable.

INTEGRATIONClient Only
PEER DEPSTailwind
PROP COUNT3
Display
INTEGRATE

StreamingText

<StreamingText />

Token-by-token rendering with a blinking cursor.

INTEGRATIONClient Only
PEER DEPSTailwind
PROP COUNT5
Display
INTEGRATE

StreamingMarkdown

<StreamingMarkdown />

Stream markdown β€” headings, lists, code β€” token by token.

INTEGRATIONClient Only
PEER DEPSTailwind
PROP COUNT5
Display
INTEGRATE
[1] pdf[2] site

InlineCitation

<InlineCitation />

Turn [1] markers into hover-to-preview source popovers.

INTEGRATIONClient Only
PEER DEPSTailwind
PROP COUNT3
Display
INTEGRATE
πŸ‘ Yes
πŸ‘Ž No

FeedbackBar

<FeedbackBar />

πŸ‘/πŸ‘Ž rating with an optional comment on thumbs-down.

INTEGRATIONNext.js Route
PEER DEPSTailwind
PROP COUNT5
Feedback
INTEGRATE
Debugger
latency: 48ms
score: 0.98

RetrievalInspector

<RetrievalInspector />

Debug panel β€” which chunks were retrieved, with scores.

INTEGRATIONClient Only
PEER DEPSTailwind
PROP COUNT4
Dev
INTEGRATE

FollowUpSuggestions

<FollowUpSuggestions />

Clickable chips of suggested next questions.

INTEGRATIONClient Only
PEER DEPSTailwind
PROP COUNT3
Chat
INTEGRATE
READY
0.95

IngestStatus

<IngestStatus />

Live status pill β€” is the pipeline online and indexed?

INTEGRATIONNext.js Route
PEER DEPSTailwind
PROP COUNT3
Ingestion
INTEGRATE
πŸ‘ Yes
πŸ‘Ž No

AnswerActions

<AnswerActions />

Copy, regenerate, and rate an answer.

INTEGRATIONClient Only
PEER DEPSTailwind
PROP COUNT3
Chat
INTEGRATE
+ New

ConversationHistory

<ConversationHistory />

A sidebar list of past chat threads.

INTEGRATIONClient Only
PEER DEPSTailwind
PROP COUNT4
Chat
INTEGRATE

RagSkeleton

<RagSkeleton />

Loading placeholders shaped like chat, search, or answers.

INTEGRATIONClient Only
PEER DEPSTailwind
PROP COUNT2
Display
INTEGRATE
READY
0.95

ConfidenceBadge

<ConfidenceBadge />

A colored badge for an answer's groundedness score.

INTEGRATIONClient Only
PEER DEPSTailwind
PROP COUNT2
Display
INTEGRATE