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

SourceSet

Evidence · src/components/SourceSet/SourceSet.tsx

What an answer actually read, and what it did not.

The unread count is printed with the sentence that matters: the answer cannot speak for them. A source list that showed only what was read would let a reader take the answer as covering the whole set.

Totals are derived from the sources when not given, and a skipped source contributes to the total but not to the read count - so skipping material makes the gap larger rather than making it disappear.

Import

import { SourceSet } 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
sources SourceItem[]
read number Overrides the derived totals.
total number
unit string
title React.ReactNode
updated React.ReactNode
missedNote React.ReactNode
className string

Exported types

SourceItem