
Usage
import { SpotlightCard } from "@/registry/components/spotlight-card/spotlight-card";
<SpotlightCard>Label</SpotlightCard>Props
| Prop | Type | Default | Description |
|---|---|---|---|
children? | ReactNode | ||
radius? | number | 260 | Spotlight radius, px. |
color? | string | "var(--glow-from)" | Spotlight color. |
Also accepts every prop of HTMLAttributes<HTMLDivElement>.
When to use
Feature grids where a pointer-following light adds depth.
When not to use
Touch-first UIs (no hover).