Spotlight Card
A card with a radial glow that follows the pointer. Powered by Motion.
- motion
Move your pointer
The glow follows you across the card. It fades out when you leave.
Customize
Width320px
Install
Terminal
npx shadcn@latest add @mewo/spotlight-cardNot using the registry directory?
Point the CLI straight at the item URL:
npx shadcn@latest add https://www.mewo-ui.com/r/spotlight-card.json
Props
| Prop | Type | Default | Description |
|---|---|---|---|
children | ReactNode | — | Card content. |
spotlightColor | string | "color-mix(in oklch, var(--color-foreground) 12%, transparent)" | Colour of the glow. Any CSS colour. |
className | string | — | Merged onto the root element. |