ValyroUI Русская версия

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

PropTypeDefault
sources *DossierSource[]Everything the piece relies on: documents, interviews, data, pages.
claimsDossierClaim[]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.
verifiedAtDateInputWhen the editors finished checking.
verifiedByReactNodeWho checked: an editor or the fact-check desk.
methodologyReactNodeHow the facts were checked, in a sentence or two.
defaultExpandedbooleantrueThe source list starts open. Default true; printing always shows it.
loadingbooleanfalseThe dossier is loading: skeleton.
errorReactNodeLoading failed: shown instead of the dossier.
titleReactNodeHeading. Default: labels.title.
headingLevel2 | 3 | 4 | 53Level of the heading (default 3).
timeZonestringIANA time zone of the dates (default: the ThemeProvider's, then the reader's).
localestringBCP 47 locale for dates; defaults to the ThemeProvider's.
labelsPartial<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