CardsNew

Glow Hover Cards

A card grid whose borders light up where the cursor passes. The light spills over to neighboring cards.

Customize

glowColor

Based on Glow Hover Card (MIT license) · Terms of use

More in Pro

View all

Props

5 properties
PropertyTypeDefaultDescription
items{ id: string; element: ReactElement; theme?: { hue: number; saturation: number; lightness: number } }[]—Cards. Each can have its own glow color.
glowColorstring"#ffffff"Glow color for cards without their own.
glowIntensitynumber0.15Fill strength under the cursor, from 0 to 1.
maskSizenumber400Size of the light spot around the cursor, in pixels.
classNamestring—Classes for the card grid.

Dependencies

3 required packages

npm install motion clsx tailwind-merge

Related components

View all