Inline citations

Numbered or hovering markers that bind each claim to a retrievable source.

Ask MilkyQ3 retention
Why did churn go up in Q3?
M
Milky 3 sources

Churn was concentrated in accounts under 50 seats, where only 41% finished setup in their first month.

Exit surveys from July mention price before value, which points at the 1 July pricing change.

Sources

Try it: Click a number in the answer. The source opens at the exact passage, and the claim it supports lights up.

In the wild

How 2 products ship this pattern. Click a screenshot to enlarge it.

Google AI Mode answer about déjà vu with a small link chip after each paragraph.
Google AI Mode
Each paragraph ends in a compact link chip, so every claim is one tap from the page it came from.
Source: Google blog, Mar 2025 ↗
Glean Assistant answer with numbered citation markers after each bullet; hovering one opens a preview of the source document with the supporting passage highlighted
Glean
Glean puts numbered markers after each claim. Hovering one previews the source document with the supporting passage highlighted.
Source: Glean docs ↗

When to use

Any factual, retrieval-backed, or high-stakes answer.

Seen in

Perplexity inline sources, Google AI Overviews, Claude citations, Glean answer references.

For engineers

Return spans with offsets from retrieval, and deep-link to the anchor, not the file.

Build prompt

A neutral, component-only prompt for a coding agent. Edit the stack block or anything else to fit your project, then copy it.

Download this prompt as Markdown, or every prompt as JSON for an agent.

Critique checklist for trust indicators

0 of 4 checked

These questions apply to every pattern in this family. Ticks are saved in this browser.