Skip to content

shadcn.io is an independent project built on shadcn/ui

Heatmap with a Gradient Legend

One continuous bar from empty days to the busiest stands in for the five swatches. This is the Solid version, drawn with TanStack Charts.

Charting library: TanStack Charts

Preview

Preview width

Installation

Sign in to get your install command
Free with an account. It carries your token, so the CLI installs everything in one go.
Use email insteadNo credit card

Usage

import { ChartHeatmapGradientLegend } from "@/components/charts/chart-heatmap-gradient-legend";
<ChartHeatmapGradientLegend />