Heatmap preview
Inspect exact values across two categorical axes with keyboard navigation and a neutral intensity scale.
pro · Data · composite
When to use
- Use it when a page needs inspect exact values across two categorical axes with keyboard navigation and a neutral intensity scale.
- Choose it when the data structure, labels, and state are supplied by the application and must remain consumer controlled.
Alternatives
- Choose analytics-card instead when explore revenue, compare periods and inspect chart values is the actual interface need, rather than heatmap.
Configure components.json and the @tidal-pro namespace before installing Pro components.
Installation
npx shadcn@latest add @tidal-pro/heatmapImport components/ui/tidal.css, components/ui/heatmap.css. Wrap installed components in tidal-scope.
Preview

Minimal example
import"./components/ui/tidal.css";
import"./components/ui/heatmap.css";
import{TidalHeatmap}from"./components/ui/heatmap";
export default(p:Parameters<typeof TidalHeatmap>[0])=><div className="tidal-scope"><TidalHeatmap {...p}/></div>;API and props
TidalHeatmap.cells (required)ReadonlyArray<TidalHeatmapCell>Required cells value accepted by this exported component.
TidalHeatmap.columns (required)ReadonlyArray<TidalHeatmapAxis>Required columns value accepted by this exported component.
TidalHeatmap.onSelectedCellChange (required)(cell: TidalHeatmapCell, event: MouseEvent<HTMLButtonElement>) => voidCallback invoked when the selected cell change interaction is proposed.
TidalHeatmap.rows (required)ReadonlyArray<TidalHeatmapAxis>Required rows value accepted by this exported component.
TidalHeatmap.selectedCell (required)TidalHeatmapCoordinate | nullRequired selected cell value accepted by this exported component.
TidalHeatmap.title (required)ReactNodeRequired title value accepted by this exported component.
TidalHeatmap.cellProps((cell: TidalHeatmapCell) => CellProps) | undefinedOptional cell props value accepted by this exported component.
TidalHeatmap.cellRef((cell: TidalHeatmapCell) => Ref<HTMLButtonElement>) | undefinedOptional cell ref value accepted by this exported component.
TidalHeatmap.descriptionReactNodeOptional description value accepted by this exported component.
TidalHeatmap.disabledboolean | undefinedOptional disabled value accepted by this exported component.
TidalHeatmap.formatValue((value: number) => string) | undefinedOptional format value value accepted by this exported component.
TidalHeatmap.headingLevel"h2" | "h3" | "h4" | "h5" | undefinedOptional heading level value accepted by this exported component.
TidalHeatmap.labelsPartial<{ grid: string; noData: string; noneSelected: string; selection: string; range: string; minimum: string; maximum: string; invalid: string; empty: string; }> | undefinedOptional labels value accepted by this exported component.
Complete usage
Full example, stylesheet imports, API and accessibility documentation
Gotchas
- The host application owns data, validation, persistence, navigation, and service side effects described by this API.