React Native Heatmap for Expo

GitHub-style activity grid with a wave-in animation.

Also known as: heat map chart, matrix chart.

<HeatmapChart />1 variant

Live — the real React Native component rendered with react-native-web. Tap, drag and scrub it.

Installation

terminal
npx expo install expo-charts react-native-svg

Usage

Import the component and pass your data. Width defaults to the parent, so it adapts to phones, tablets and rotation.

Like this? There's a lot more in Pro Pro

12 full screens built from the same kit — install them the same way.

See what's in Pro

Props

PropTypeDefault
data

Rows × columns.

number[][]—
rowLabels / colLabels

Labels.

string[]—
color

Cell colour.

stringpalette[0]

FAQ

How do I make a heatmap in React Native?
Use ExpoKit's Heatmap: install the expo-charts package (npx expo install expo-charts react-native-svg) and render <HeatmapChart data={…} />. It's animated and touchable, and works on iOS, Android, web and in Expo Go.
Does Heatmap work in Expo Go?
Yes. It draws with react-native-svg, which Expo Go includes, so it runs on iOS and Android with no development build.
Is Heatmap free?
Yes. Heatmap is in expo-charts, which is free and MIT-licensed.