EnterUI
DocsComponentsThemesExamplesDonation
Get Started
      • BarChart
      • DonutChart
      • LineChart
      • AreaChart
      • StackedBarChart
      • Heatmap

Default usage

  1. EnterUI
  2. /Docs
  3. /Data and Analytics
  4. /Metrics and Charts
  5. /Charts
  6. /Heatmap
Updated 3 October 2026

Heatmap

Compact activity heatmap for density and operational load.

Heatmap renders a subtle intensity grid for activity, deploys, usage density, or error frequency. Its default intensity uses the shared chart blue; explicit semantic tones remain available.

#Default usage

Activity heatmap

Use x and y categories to show density without heavy decoration.

Deploy activity by hour09 Mon: 210 Mon: 809 Tue: 510 Tue: 1109 Wed: 310 Wed: 7
Code
<Heatmap
  ariaLabel="Deploy activity by hour"
  data={[
    { day: "Mon", hour: "09", value: 2 },
    { day: "Mon", hour: "10", value: 8 },
    { day: "Tue", hour: "09", value: 5 },
    { day: "Tue", hour: "10", value: 11 },
    { day: "Wed", hour: "09", value: 3 },
    { day: "Wed", hour: "10", value: 7 },
  ]}
  tone="info"
  valueKey="value"
  xKey="day"
  yKey="hour"
/>

#Import

Code
import { Heatmap } from "@froggdesign/enter-ui-react";

#Patterns

Error density

Reserve error tone for actual error frequency, not decorative emphasis.

Error frequency by serviceAPI 00: 0API 06: 2Jobs 00: 4Jobs 06: 9

#Accessibility

Pass ariaLabel or aria-label. Each cell includes an SVG title and label containing its x category, y category, and value.

#API

  • data: records for each cell.
  • xKey: horizontal category.
  • yKey: vertical category.
  • valueKey: numeric intensity field.
  • ariaLabel: accessible chart label.
  • emptyLabel: empty state copy.
  • tone: default, success, info, warning, or error.
  • className: style hook for layout.
  • Legacy labelKey remains supported for single-row heatmaps.

#Styling

Heatmap uses .eui-heatmap, .eui-heatmap__cell, and .eui-chart__empty. Prefer tone for semantic intensity and use className only for surrounding layout.

PreviousStackedBarChart
NextTrendIndicator
On this page
  • Default usage
  • Import
  • Patterns
  • Accessibility
  • API
  • Styling