cult/ui

Hero Heatmap

Heroes 58

About

Split-layout hero section with an animated WebGL heatmap shader visual, CTA button, and tech-stack badges.

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

Code

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

Usage.tsx

"use client"

import {
  AISDKIcon,
  HeroHeatmap,
  HeroHeatmapActions,
  HeroHeatmapBadges,
  HeroHeatmapContainer,
  HeroHeatmapContent,
  HeroHeatmapDescription,
  HeroHeatmapHeading,
  HeroHeatmapMobileVisual,
  HeroHeatmapRoot,
  HeroHeatmapVisual,
  NextjsIcon,
} from "@/components/ui/hero-heatmap"

export default function HeroHeatmapDemo() {
  return (
    <div className="space-y-16">
      <div className="space-y-4">
        <h3 className="font-medium text-lg flex items-center justify-center">
          Default
        </h3>
        <HeroHeatmap />
      </div>

      <div className="space-y-4">
        <h3 className="font-medium text-lg flex items-center justify-center">
          Root-level shader props
        </h3>
        <HeroHeatmap
          angle={45}
          colorBack="#0a0a0a"
          colors={[
            "#112069",
            "#1f3ca3",
            "#367c66",
            "#adfa1e",
            "#ffe77a",
            "#ff9a1f",
            "#ed40b3",
          ]}
          contour={0.6}
          image="https://cdn.21st.dev/assets/mirror/48/483b9e388f61026cdcde3f640637eced2a4ff9f13b09a2cdbaf7f65ca4dc54e5.svg"
          innerGlow={0.6}
          noise={0.1}
          outerGlow={0.4}
          scale={0.8}
          speed={1.2}
          width={1280}
          height={720}
        />
      </div>

      <div className="space-y-4">
        <h3 className="font-medium text-lg flex items-center justify-center">
          Configured via props
        </h3>
        <HeroHeatmapRoot
          ctaProps={{
            href: "#",
            label: "Try NewCopy for marketing",
          }}
          description="Human-in-the-loop marketing copy software that helps teams draft, review, and ship high-converting campaigns with confidence."
          desktopShaderProps={{
            scale: 0.8,
            speed: 0.7,
            innerGlow: 0.6,
            outerGlow: 0.4,
          }}
          image="https://cdn.21st.dev/assets/mirror/48/483b9e388f61026cdcde3f640637eced2a4ff9f13b09a2cdbaf7f65ca4dc54e5.svg"
          mobileShaderProps={{
            speed: 0.65,
          }}
          srTitle="Composable hero"
          subtitle="Marketing"
          techStack={[
            { name: "Next.js", version: "v16" },
            { name: "AI SDK", version: "v6" },
            { name: "Tailwind", version: "v4" },
          ]}
          title="Cursor for"
        >
          <HeroHeatmapContainer>
            <HeroHeatmapContent>
              <HeroHeatmapHeading />
              <HeroHeatmapDescription />
              <HeroHeatmapActions />
              <div
                className="hidden lg:flex justify-center lg:justify-start"
                data-slot="hero-heatmap-badges-wrap"
              >
                <HeroHeatmapBadges
                  techStack={[
                    { name: "Next.js", version: "v16", icon: NextjsIcon },
                    { name: "AI SDK", version: "v6", icon: AISDKIcon },
                  ]}
                />
              </div>
            </HeroHeatmapContent>
            <HeroHeatmapVisual />
          </HeroHeatmapContainer>
          <HeroHeatmapMobileVisual />
        </HeroHeatmapRoot>
      </div>
    </div>
  )
}

Dependencies

More by cult/ui

View all
  • 3D Carousel

    3D Carousel

    2.5K
  • Logo Carousel

    Logo Carousel

    1.1K
  • Feature Carousel

    Feature Carousel

    503
  • Popover Form

    Popover Form

    418
  • Floating Panel

    Floating Panel

    244
  • Expandable

    Expandable

    126
  • Dock

    Dock

    119
  • Hero Liquid Metal

    Hero Liquid Metal

    99

More in Heroes

View all
  • SaaS Template

    SaaS Template

    2.4K
  • Responsive Hero Banner

    Responsive Hero Banner

    2K
  • Hero

    Hero

    1.2K
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    920
  • HeroSectionWithGradient

    HeroSectionWithGradient

    335
  • Hero 03

    Hero 03

    314
  • Editorial Collage Hero

    Editorial Collage Hero

    425
  • Glass Fold

    Glass Fold

    197