Component packs › Hover FX › Spotlight Grid

Spotlight Grid

One eased spotlight lights the grid: borders catch the light and neighbouring cards glow too.

Spotlight Grid is a cards from Hover FX, a component pack with 6 components: The fastest way to make a site feel premium. Price: $2 for the whole pack.

Built with: shared light source, masked borders, eased follow.

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.

Spotlight Grid props

PropTypeDefaultDescription
cardsSpotlightCard[]
radiusnumber260Light radius in px. Default 260.
autoplaybooleanShowcase mode: the light wanders across the grid.

Methods on the ref

Use it in React

import Spotlight from './Spotlight';

<Spotlight />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Hover FX

Good for: Micro-interactions.