Skip to main content
239

Search Lumen

Find components, APIs, guides, and recipes.

GitHub
Themes
React Native docs
Data displayReact Native

Heatmap

Encode a matrix with sequential or diverging color scales, labeled axes, and a numeric legend.

Public APILumenHeatmapReact Native

Native example

Use Heatmap

Use canonical visualization tokens and keep the application data model explicit. Provide a concise factual label, and retain the readable native fallback supplied by the component.

Heatmap rendered in the Expo web renderer Lumen playground

Captured exampleExpo web renderer

Open interactive preview
Open the Heatmap demo
tsx
<LumenHeatmap
  data={activityCells}
  label="Quarterly revenue"
/>

Reference

Public API

The primary shared and platform-specific options exposed by LumenHeatmap.

APIValues or typeDefaultDescription
labelStringRequiredProvides the concise accessible name for the visualization.
dataTyped native chart dataRequiredSupplies finite values and stable identifiers through the shared chart contract.

Native behavior

Design and accessibility

When to use it

Use canonical visualization tokens and keep the application data model explicit. Provide a concise factual label, and retain the readable native fallback supplied by the component.

Accessibility

Distinguishes missing cells from zero and provides an expandable list of exact measurements.

Shared component

Available on other platforms

Apple / SwiftUIAndroid / Compose Web
React Native docsNative primitives