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

MixColumns

Insights · src/components/MixColumns/MixColumns.tsx

The same ordinal mix over time: one 100% column per period, the shallowest step at the bottom, so a shift towards deeper work reads as the dark part of the columns growing.

An empty period is drawn as an empty track, not left out: dropping it would close the gap and make two weeks apart look adjacent.

Import

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

Rendered

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

Props

PropTypeNotes
periods Array<Array<number | null>> One mix per period (each a share 0-100 per step), oldest first. An all-zero mix is an empty column.
labels string[] A label per period, e.g. the week's start date. Every other one is printed under the columns.
steps MixStep[]
alt string Accessible name of the whole chart.
periodPrefix string Prefix of each column's tooltip, before its label. "Week of" by default.
className string