CrazyGLCrazyGLHomeExploreGitHubBrowse heroesLoading hero…← Back to gallery@crazygl/text-image-cursor

Text Image Cursor

A list of items where hovering each row reveals a thumbnail that follows the cursor — case-study index pattern, magazine-grade.

ReactImageInteractiveFont#cursor#image#list#typography

Usage

import TextImageCursor from '@crazygl/hero-text-image-cursor';

export default function Hero() {
  return (
    <TextImageCursor
      item1Label="Driftwood Studio"
      item1Image="/work/driftwood.jpg"
      thumbW={280}
    />
  );
}

Customise

  • Items — four slots, each with a label and an image.
  • StyletextColor (idle), hoverColor (active row), fontSize, thumbW (thumbnail width), headingFontFamily (Google font), headingFontWeight.
  • BackdroptransparentBackground, bgColor.

Best for

  • Portfolio / case-study indexes and work listings.
  • Agency and studio landing pages.
  • Editorial or collection menus where each entry has a hero image.
01 · Install the package

One command, zero config.

npm install @crazygl/hero-text-image-cursor
02 · Render the component

Import once, drop it in.

The component takes the same props you see in the live customizer on the right — every default ships poster-quality.

hero.tsx
import TextImageCursor from '@crazygl/hero-text-image-cursor';

export default function Landing() {
  return (
    <TextImageCursor />
  );
}
03 · Use it in a page

SSR-safe by default.

The wrapper renders static HTML on the server and only initialises the canvas after hydration, so search engines see your copy.

page.tsx
// app/page.tsx — works in SSR-first frameworks (Next, Remix, Astro, etc.)
'use client';

import TextImageCursor from '@crazygl/hero-text-image-cursor';

export default function Page() {
  return (
    <section>
      <TextImageCursor
        heading="Say hi."
        subheading="Your new hero."
      />
      <article>
        <h2>Welcome</h2>
        <p>Your content keeps its own voice below the hero.</p>
      </article>
    </section>
  );
}
You might also like

Similar heroes

Cursor Shadow Text

The heading casts a real drop shadow whose direction tracks the cursor — like a single fixed light moving across the room.

Text Masking

Headline acts as a window onto a slowly drifting photograph — large letterforms, the photograph showing through them, a clean colored hero around the cut-out.

Cursor Reveal Text

Two stacked paragraphs — a primary line shown in the surface colour, and a secret reveal line shown only inside a cursor-following spotlight that grows on hover.

Magnet Text

Letters are pulled toward the cursor with falloff — close letters attract strongly, distant letters barely tug. Springs return them to the line.

Proximity Text FX

Letters near the cursor scale up and brighten; letters further away dim and shrink — an inverse-distance attention effect.

Mouse Wave Text

A wave travels along the heading following the cursor — each letter pops up as the wave passes, then settles back. Switch to auto mode for a hands-off demo.
Live customizer

Text Image Cursor

Item 1 labelItem 1 imageItem 2 labelItem 2 imageItem 3 labelItem 3 imageItem 4 labelItem 4 imageDefault colourHover colourFont size80pxThumb width (px)280pxFontWeight700Transparent backgroundBackground
CrazyGL · crazygl.comProgrammable hero sections for real websites.