Back to components
ComponentHeroFree

Spotlight Cursor Hero React component

A hero in a dark room: the pointer carries a soft light that lights up the headline and uncovers notes hidden around it. Left alone, the light wanders by itself.

About the Spotlight Cursor Hero component

Spotlight Cursor Hero turns the first screen into a dark room. The headline sits dim until the pointer's light passes over it, and small notes hidden around the page only show inside the beam.

Left alone, the light wanders on a slow figure of eight, so the effect still plays on phones and for people who never move the mouse. The description and buttons stay fully lit at all times.

When to use it

Use it for security, monitoring, data and research products, or anything whose promise is finding what others miss.

Keep anything people must read out of the findings, since those only show inside the light.

Installation

Add the Spotlight Cursor Hero component to your project with the shadcn CLI. It lands in components/spotlight-cursor-hero.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/spotlight-cursor-hero

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install clsx tailwind-merge

More Hero components

Typewriter Search Hero
Free
Parallax Layers Hero
Free
Phone Fan Hero
Free
Video Text Mask Hero
Free
Tile Flip Hero
Free
Split Screen Hero
Free