Get the kit
Components / Interactionsv1.0.0 · updated 2026-10-08

Spotlight Card

Premium · $15

A radial light tracks the pointer across the card surface and fades out when it leaves. Radius, intensity and colour are props; the card itself is any content.

cardhoverlight
Premium
Spotlight cardLight follows you

Move across the card. The pool of colour is pure CSS, positioned on pointermove.

Customize
Accent

Install

No dependencies beyond React. Copy the file and import it.

  1. Download the package from your library after purchase and add it to your project.
  2. Make sure the Brazen tokens are loaded (tokens.css); colours and timing come from them.
  3. Import it and pass the props below.

Props 3

PropTypeDefaultDescription
radiusnumber220Light radius in px.
intensitynumber0.35Light opacity, 0–1.
colorstring"var(--hot)"Any CSS colour.

Features

  • Pointer-tracked light
  • Any content
  • Tunable radius and intensity
  • No layout reads per frame

Dependencies

  • react@>=19 peer

Works with

  • React 19
  • Next.js 15+
  • TypeScript

Reduced motion

Light still follows the pointer; there is no animation to remove.

Related