Source Dossier
Source dossier: verification status, linked facts, source types, print. Pro · Content and social › Facts and sources
An evidence card for a piece: the editor's verification status, the confirmed facts with numbered references, and the sources — kind, first- or second-hand, dates, links and archived copies. Status is what an editor set, never inferred from links. Prints with every link written out.
Installation
npx valyro-cli@latest login
npx valyro-cli@latest add source-dossier
npm install valyro-ui-pro
import 'valyro-ui-pro/styles.css';
import { SourceDossier } from 'valyro-ui-pro';
Props
| Prop | Type | Default | |
|---|---|---|---|
sources * | DossierSource[] | Everything the piece relies on: documents, interviews, data, pages. | |
claims | DossierClaim[] | Facts of the piece and the sources behind each. | |
status | 'verified' | 'partial' | 'unverified' | 'disputed' | 'unverified' | Overall state set by an editor. Default unverified — links alone never make a piece verified. |
verifiedAt | DateInput | When the editors finished checking. | |
verifiedBy | ReactNode | Who checked: an editor or the fact-check desk. | |
methodology | ReactNode | How the facts were checked, in a sentence or two. | |
defaultExpanded | boolean | true | The source list starts open. Default true; printing always shows it. |
loading | boolean | false | The dossier is loading: skeleton. |
error | ReactNode | Loading failed: shown instead of the dossier. | |
title | ReactNode | Heading. Default: labels.title. | |
headingLevel | 2 | 3 | 4 | 5 | 3 | Level of the heading (default 3). |
timeZone | string | IANA time zone of the dates (default: the ThemeProvider's, then the reader's). | |
locale | string | BCP 47 locale for dates; defaults to the ThemeProvider's. | |
labels | Partial<Omit<SourceDossierLabels, 'statuses' | 'statusHints' | 'claimStatuses' | 'kinds' | 'kindHints'>> & { statuses?: Partial<Record<DossierStatus, string>>; statusHints?: Partial<Record<DossierStatus, string>>; claimStatuses?: Partial<Record<ClaimStatus, string>>; kinds?: Partial<Record<DossierSourceKind, string>>; kindHints?: Partial<Record<DossierSourceKind, string>>; } | Overrides for the built-in English text; keys left out keep their defaults. |
Related components
- Citation Evidence Lens — Highlights claims by how well they are supported, with sources for each
- Correction Ledger — Correction history: what changed, when and why, with a word-level diff
- Interactive Quote Deck — Quotes with the primary source, context, original wording and attributed sharing
- Article Header — Article header: section, headline, lede, authors and date
- Byline — Byline: authors, published and updated dates, reading time
- Article Figure — Image with caption and photo credit
- Pull Quote — Pull quote with attribution
- Key Points — “Key points” summary block
- Editor Note — Update, correction, disclosure and sponsored-content notes
- Article Toc — Article table of contents that tracks the current section
- Reading Progress — Reading progress bar
- Share Bar — Share: Telegram, VK, X, WhatsApp, email and copy link
Previous: Citation Evidence Lens · Next: Correction Ledger · All Content and social