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

Histogram

Insights · src/components/Histogram/Histogram.tsx

How a set of runs spreads across ranges of one figure, e.g. agent runs by actions per instruction. Columns only, no axis: the counts are in the accessible name and each column's tooltip.

Import

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

Rendered

No rendering: the delivery ships no preview case for this one

Props

PropTypeNotes
bins number[] A count per bin, in bin order.
labels string[] A label per bin, e.g. "1-2", "3-5".
highlightFrom number Bins from this index on are drawn in the brand colour - the range the reader is aiming for.
alt string Accessible name; the counts are appended to it.
className string