Sources

The links an answer was drawn from, as a folding list under the reply or a small marker inside the text.

Basic

Pass items, each with a title and a url, under a title that folds and unfolds the list.

Item icons

Give an item an icon to show it before the link, like a file glyph for a document.

Arrow at the end

Set expandIconPosition to end to move the arrow after the title, and defaultExpanded to false to start folded.

Inline

Set inline to show the sources as a small marker inside text, with a card of each source and its description on hover.

In context

The component inside real screens, with the components it usually sits beside.

Answer with sources

An assistant reply in a Bubble, with the folded list of sources above the answer.

Policy lookup

An HR assistant that answers a remote work question with numbered citations in the text and a folded list of the documents.

Comparison answer

A design system assistant that compares two icon packs in a table, with the pages it read folded above.

Team briefing

A Monday team briefing with three updates, each followed by a folded list of the notes and reports it was drawn from.