Color-coded matrix visualization for patterns and data density across two dimensions with interactive tooltips and gradient legend.
npx linspo-ui add heatmaplucide-react5 × 7 grid
25
Maximum
11
Average
2
Minimum
| Prop | Type | Default | Description |
|---|---|---|---|
data | number[][] | — | 2D array of numeric values for the heatmap cells. |
xLabels | string[] | — | Labels for the x-axis (columns). |
yLabels | string[] | — | Labels for the y-axis (rows). |
metric | string | "Activity Heatmap" | Label for the metric being displayed. |
className | string | — | Additional CSS classes to apply. |