Components / Interactionsv1.0.0 · updated 2026-10-08
Spotlight Card
Premium · $15A 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
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.
- Download the package from your library after purchase and add it to your project.
- Make sure the Brazen tokens are loaded (
tokens.css); colours and timing come from them. - Import it and pass the props below.
Props 3
| Prop | Type | Default | Description |
|---|---|---|---|
radius | number | 220 | Light radius in px. |
intensity | number | 0.35 | Light opacity, 0–1. |
color | string | "var(--hot)" | Any CSS colour. |
Features
- Pointer-tracked light
- Any content
- Tunable radius and intensity
- No layout reads per frame
Dependencies
react@>=19peer
Works with
- React 19
- Next.js 15+
- TypeScript
Reduced motion
Light still follows the pointer; there is no animation to remove.