Dev Design Library

Spotlight Card

A card with a radial spotlight glow that follows the cursor.

Spotlight Card preview
Library
Sona UI
Framework
React
Type
ui
License
MIT
Dependencies
motion
Install
npx shadcn@latest add @sona-ui/spotlight-card
Files
  • src/registry/sonaui/spotlight-card/spotlight-card.tsx
  • src/registry/sonaui/sona-utils/sona-utils.ts
  • src/lib/sona-utils.ts
Source
https://github.com/Dinil-Thilakarathne/sona-ui

Categories

More from Sona UI