@redrob-labs/ui v1.0.2 · Redrob Group Design System 2026

Evidence

Evidence · src/components/Evidence/Evidence.tsx

A quotation put forward as proof of something, with its source.

passage is the surrounding text and quote marks the part relied on, which is what lets a reader see whether the quote survives its context. A quote with the context stripped is the oldest way to misrepresent a source.

Nothing is drawn when neither is present. A caller passing only quote used to get an empty bordered box; now the quote stands on its own.

Import

import { Evidence } from '@redrob-labs/ui';

Rendered

The design system's own preview case, run against this package's build. The parity gate compares this rendering to the reference bundle's.

Props

PropTypeNotes
claim React.ReactNode What this passage is put forward as proving.
claimLabel React.ReactNode
passage React.ReactNode The surrounding text. The quote is highlighted inside it.
quote string The part actually relied on.
source React.ReactNode
href string
meta React.ReactNode
actions React.ReactNode
className string