ProductBrand
Join us
Foundations
  • Introduction
  • Colors
  • Typography
  • Icons
  • Illustrations
  • Logos
  • Shadows
Components
  • Accordion
  • Alert Dialog
  • Avatar
  • Badge
  • Button
  • Calendar
  • Card
  • Chart
  • Checkbox
  • Collapsible
  • Combobox
  • Context Menu
  • Date Picker
  • Dialog
  • Drawer
  • Dropdown Menu
  • Fluid Avatar
  • Hover Scroll Text
  • Input
  • Kbd
  • Popover
  • Progress Bar
  • Radio Group
  • Scroll Area
  • Select
  • Selectors
  • Separator
  • Separator Dot
  • Shimmer Text
  • Skeleton
  • Slider
  • Switch
  • Tabs
  • Textarea
  • Toast
  • Tooltip
Compositions
  • Empty State
  • File Attachment
  • Floating Bar
  • Input Banner
  • Markdown Editor
  • Media Controls
  • Product Feature Banner
  • Panels
  • Sidebar
  • Reasoning Trace
  • Pagination
  • Data Table
  • Breadcrumb
  • Thread Outline
Inline
  • Overview
  • Stat Tile
  • Metric Row
  • Comparison Table
  • Chart Card
  • Trend Tile
  • Cite
  • Custom
  • Agent skill

Cite

The numbered citation pill. Render <Cite> immediately after any sourced figure inside a component, passing the short citationId from the tool result - the same id used in a prose citation [n](cite:<id>). In the running app the pill opens the source in the app's source panel on click and previews it on hover, exactly like prose citations.

Examples

Cited figures in chat
What were the headline numbers?

The headline figures, each tied back to its source:

Full-year revenue reached $4.51B, up from $4.01B a year earlier, with management guiding to double-digit growth into FY25.

The pills above are inert in the design system - there's no chat host to resolve them. Inside a component frame they post to the host, which owns the id → source map.

Props

PropTypeDescription
idstringThe short citation id from the tool result.
childrenReactNodeOptional content the pill trails (usually omitted).

The bridge

Cite reads its behavior from a InlineCiteProvider context, so numbering is scoped and the host wires the click/hover handlers - the library never posts cross-origin messages itself:

  • In the app / component frame - the host wraps components in a InlineCiteProvider whose handlers post the citation id to the parent (using its own known origin), which resolves it and opens the source panel.
  • In the design system - no handlers are wired, so the pills render and number correctly but stay inert.
tsx
<div className="tabular-nums">
  $4.51B
  <Cite id="capiq-1" />
</div>

Agent context

Render <Cite id="<citationId>" /> immediately after any sourced figure, passing the same short citationId used in prose [n](cite:<id>). Only pass ids that appear in this turn's tool results - a made-up id renders a dead pill. Every externally sourced number should carry a <Cite>.

PreviousTrend Tile
NextCustom
Made in NYC© 2026 Rogo Technologies Inc.

Design at Rogo

We’re redesigning an entire industry. Come design it with us.

See open roles

Design at Rogo

  • How we workThe mission of design at Rogo, and the open roles
  • About RogoThe company and the product