ganapativs

Heat Strip

Component

About

A compact single-row chart that colors each time step with a calibrated intensity cell, for showing load or activity levels across a timeline at a glance.

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

Code

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

Usage.tsx

import HeatStrip from "@/components/ui/heat-strip";

export default function HeatStripDemo() {
  const hourlyLoad = [
    12, 25, 38, 52, 66, 79, 88, 90, 84, 71, 55, 40, 28, 45, 62, 78, 85, 74, 58,
    35,
  ];

  return (
    <div className="flex items-center justify-center w-full h-full p-8">
      <HeatStrip
        data={hourlyLoad}
        domain={[0, 100]}
        title="Load per hour"
        width={240}
        height={20}
      />
    </div>
  );
}

Dependencies

More by ganapativs

View all
  • SparkBar

    SparkBar

  • Delta Indicator

    Delta Indicator

  • Dumbbell Chart

    Dumbbell Chart

  • Calendar Strip

    Calendar Strip