Components Context Management Context Sources
CM01 · Context

Context Sources

Purpose Lists the files, selections, or external data the AI is currently using to produce responses. Makes the information basis of an AI response visible at the point of output.
Use when The AI is operating with specific documents, database queries, selected text, or external integrations that form the basis of its responses. The user must be able to see what the AI is drawing from.
Do not use For system-level training data or model weights. Context Sources covers session-level context — what the AI has been given access to in this conversation, not what the model was trained on.
Failure mode prevented Users receive AI responses without knowing what data sources were consulted. They cannot evaluate credibility, detect missing sources, or understand why the AI gave a particular answer.
Example Dark Academia
Dark Academia
The Atelier
Neon Tide
The Archive
Candlelight
The Conservatory
Context 4 sources active
  • Q1-pipeline-errors.csv Uploaded · 42 KB · Fully indexed
    Active
  • Salesforce Live Query Live integration · Refreshes every 5 min
    Active
context-sources-panel — standalone card listing all active sources with remove controlscontext-sources-inline — compact strip below prompt input showing active source pillscontext-sources-popover — triggered disclosure listing sources on demand

Override these CSS custom properties to apply your own visual treatment without touching the component's behavioral contracts.

Shared semantic tokens

Token Controls
--rad-surface-card Component background
--rad-border-subtle Outer border and row dividers
--rad-color-text-primary Source names
--rad-color-text-meta File size, status metadata
--rad-color-approve Active status chip, focus ring
--rad-color-reject Remove button hover color
--rad-radius-card Card border radius

Component-scoped tokens

Token Controls
--rad-context-count-color "N sources active" label color
--rad-context-source-border Row divider color
--rad-context-name-color File/source name color

"*If users can't see what the AI is drawing from, they can't evaluate whether to trust the output.*"

← Previous Process vs Result Layout Next → Context Pills

Intellectual Property

RAD is the original work of Jackie Curry. All rights reserved. No portion may be reproduced, adapted, or incorporated into any product or system without express written permission.

Permitted: citation in academic or editorial contexts with full attribution.

Licensing

© 2025 Jackie Curry. All rights reserved. Publication date: 2025.

For licensing inquiries, connect on LinkedIn →