GitHubnpm

Accent theme

Base radius

GitHubnpm

Accent theme

Base radius

Colour scheme

Docs menu

Guides


Primitives
Forms
Layout
Feedback
Overlays
Navigation
Data Display
AI

Sources

Cited sources under an AI response, plus compact numbered Citation chips for the markers models emit in grounded answers — a real <section> of real <a> links, not a card of styled divs.

Transformers scale well with data and compute1, though attention is quadratic in sequence length2.

Sources

Examples

Reference list

Numbered entries with title and host derived from the URL.

Usage
<Sources>
  <Source
    index={1}
    title="Attention Is All You Need"
    href="https://arxiv.org/abs/1706.03762"
  />
  <Source
    index={2}
    title="Efficient Transformers: A Survey"
    href="https://arxiv.org/abs/2009.06732"
  />
</Sources>

Inline citations

Citation chips in the prose link to the same sources listed below.

Transformers scale well with data and compute1, though attention is quadratic in sequence length2.

Sources

Usage
<p>
  Transformers scale well with data and compute
  <Citation index={1} href="https://arxiv.org/abs/1706.03762" />
  , though attention is quadratic
  <Citation index={2} href="https://arxiv.org/abs/2009.06732" />.
</p>
<Sources>…</Sources>

Playground

Toggle every adjustable prop and watch the component — and the code — update live.

Unstyled

Same component — Kernel look stripped. See Platforms.

index
Usage
<Sources>
  <Source
    index={1}
    title="Attention Is All You Need"
    href="https://arxiv.org/abs/1706.03762"
  />
</Sources>

Props

Props for Sources.
PropTypeDefault
headingReactNode | null"Sources"
childrenReactNode (Source)
Props for Source.
PropTypeDefault
hrefstring
titleReactNode (required)
hostReactNodederived from href
indexnumber
targetstring"_blank"
Props for Citation.
PropTypeDefault
indexnumber (required)
hrefstring
targetstring"_blank"

Accessibility

  • Each source is a real link — open in a new tab, copy URL, and find-in-page all work without a custom interaction layer.
  • External links default to rel="noopener noreferrer" when target="_blank".
  • Citation chips are also real anchors, so the inline marker and the footer entry share the same navigable destination.