EEnterUI
DocsComponentsThemesDonation
Get Started
      • LineChart
      • AreaChart
      • StackedBarChart
      • Heatmap
EnterUIDocsData AnalyticsMetrics and ChartsChartsHeatmap
Data AnalyticsUpdated 6 May 2026

Heatmap

Compact activity heatmap for density and operational load.

Heatmap renders a subtle intensity grid for activity, deploys, usage density, or error frequency.

#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

  1. Default usage
  2. Import
  3. Patterns
  4. Accessibility
  5. API
  6. Styling