Search

Search the site

All components

Citation Chips

Inline source references with hover previews for RAG answers, grounded chat, and retrieval inspectors.

Source row
Chips under an assistant answer with one active source.

Sessions refresh automatically using HTTP-only cookies, and API traffic is throttled per workspace to keep delivery predictable.

Sign in to view this example's source code.

Sign in
Inline markers
Superscript markers in copy plus a chip row below.

Grounded answers can reference retrieval chunks inlinewhile keeping rate-limit guidanceone click away.

Sign in to view this example's source code.

Sign in
Dense previews
Long excerpt scroll and metadata-heavy chips.

Sign in to view this example's source code.

Sign in

Props

NameTypeDefaultDescription
sourcesCitationSource[]requiredRetrieved sources rendered as inline chips
activeIdsstring[]undefinedHighlight chips whose ids appear in the active set
openOnHoverbooleantrueOpen preview popover on hover and focus
onSourceClick(source: CitationSource) => voidundefinedCalled when a chip or source link is activated
CitationMarkercomponent-Superscript inline marker tied to a source id for grounded prose