HeatmapComponent
A grid of cells whose shade tells a value, or a calendar of days.
Java
Inside a PanelComponent constructor. The same call draws in every family and chroma.
Java
HeatmapComponent days = add(new HeatmapComponent(at(new Box("days", 10, 10, 280, 70)))
.calendar(LocalDate.of(2026, 1, 1), blocksMinedPerDay)
.legendWords(words.get("mymod.less"), words.get("mymod.more"))
.onSelect(day -> open(day)));Variants
Calendar

Grid
