Source Browser

Source browser is an AI UX pattern that shows the original documents or passages beside (or linked from) the generated answer so users can verify claims in context. Highlights map answer spans back to source excerpts, making RAG and research outputs auditable instead of black-box.

Share

Interactive demo

Best single guess

Spain is the clearest favorite for the 2026 World Cup. Bookmakers and prediction markets keep them priced first, with Brazil and France close behind.

Why this is still uncertain

Odds move quickly after openers. Japan already climbed after a strong start, and market prices compress as more games land.

Overview

The design problem

How might we let people read the original passages beside the answer without losing their place in the thread?

Use this pattern

When users need to verify retrieval in context

  • Document Q&A, legal research, and RAG products where claims map to real passages.
  • Dual-pane reading where people compare the answer and source continuously.
  • Search answers where a full source list beats one-off citation previews.
  • Any surface where trust depends on seeing the excerpt that grounded a claim.

Avoid this pattern

When a browser pane would be empty theater

  • Pure chat with no retrieval corpus, where a browser pane would be empty theater.
  • Mobile chat where a persistent dual pane destroys reading space; prefer a slide-over Sources view instead.
  • Creative generation tasks where “sources” would invent provenance.

States

Design the browse lifecycle, not only a footnote link that opens a new tab.

Source browser inspection flow

Loading diagram…

  1. 01

    Answer ready

    The synthesized answer is visible. A source count or chip shows that retrieval grounded the reply.

  2. 02

    Panel closed

    The answer uses full width. Sources stay one tap away via the chip or inline marks.

  3. 03

    Panel open

    A bottom sheet lists every source used for the answer over the reply.

  4. 04

    Inspecting

    Each row shows domain, title, and snippet so people can scan without leaving the product.

  5. 05

    Linked

    An inline citation or chip scrolls the panel to the matching source row or highlighted passage.

  6. 06

    Dismissed

    Closing the panel returns focus to the answer. Open state does not reset the thread.

Key UX elements

The parts that must be present for side-by-side verification to feel trustworthy.

Answer

Keep the synthesis readable on its own.

The reply stands alone. Sources augment it; they do not replace clear prose in the main pane.

Chip

Offer one obvious entry to all sources.

A favicon stack plus source count opens the sheet without hunting footnotes.

Panel

Label what the list covers.

Show source count and the query or topic so people know which answer the list belongs to.

Row

Make each source scannable in place.

Domain, title, and excerpt on every row. Links open externally; inspection stays in-product first.

Close

Let people dismiss without losing the answer.

A clear close control returns to reading. Do not auto-open full width on every new query.

Anti-patterns to avoid

  • Listing file names without showing the excerpt that grounded the claim.

  • Highlights that do not match the cited sentence, training users to distrust the panel.

  • Auto-opening a full-width browser that pushes the answer off-screen on every query.

  • No jump-to-passage link from an inline citation chip into the browser.

How products use it

ProductImplementation
ChatPDF / document Q&A toolsKeeps the PDF open beside answers and scrolls to cited pages.
PerplexitySources panel and previews support claim-level inspection beyond chat text.
Notion AI / enterprise RAGOpens linked workspace pages or snippets that the answer drew from.
Legal research platformsDual-pane reading of opinions or filings next to AI summaries.

Implementation

Copy this prompt to generate a production-ready implementation in Cursor, Claude Code, Lovable, or any AI coding agent.

Generate a production-ready implementation of the "Source Browser" AI interface design pattern.

Pattern Definition:

Frequently asked questions

What is a source browser in AI products?

A source browser is a side panel or dual-pane view of the documents or passages the model used, often with highlights tied to claims in the answer so users can verify context without leaving the product.

How does a source browser relate to citations?

Citations mark which claim maps to which source. The source browser is where users go after clicking a citation to read the underlying passage. Strong trust UX usually needs both.

When is a full dual-pane better than a sources list?

Use dual-pane for document-heavy work (contracts, PDFs, codebases) where users compare answer and source continuously. Use a compact list or drawer for web search answers on small screens.

Weekly AI UX in your inbox

Weekly AI interface UX notes and resources on Substack, no spam, unsubscribe anytime.

Subscribe on Substack