Airbnb

Heatmaps

Component 116

About

here is interactive heatmaps

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Heatmaps to your project and fits it to your theme.

Code

How Heatmaps is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

// src/components/ui/heatmap-chart-demo.tsx

import { HeatmapChart } from "@/components/ui/heatmaps";

const DemoHeatmapChart = () => {
  const width = 800;
  const height = 500;

  return (
    <div className="flex w-full h-screen justify-center items-center bg-gray-100">
      <HeatmapChart width={width} height={height} events={true} />
    </div>
  );
};

export { DemoHeatmapChart };

Dependencies

More by Airbnb

View all
  • Radar chart

    Radar chart

    116
  • Pie chart

    Pie chart

    102
  • Linktypes

    Linktypes

    98
  • Finance Chart

    Finance Chart

    90
  • Word cloud

    Word cloud

    65
  • Legends

    Legends

    54
  • Streamgraph

    Streamgraph

    51
  • Tooltip

    Tooltip

    49