About
A card with a radial spotlight glow that follows the cursor.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Spotlight Card to your project and fits it to your theme.
Code
How Spotlight Card is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import SpotlightCard from "@/components/ui/sona-spotlight-card"
export default function SpotlightCardExample() {
return (
<SpotlightCard className="max-w-sm">
<h3 className="font-semibold text-foreground text-lg">Spotlight Card</h3>
<p className="mt-2 text-muted-foreground text-sm">
Move your cursor across the card to reveal the spotlight that follows
your pointer.
</p>
</SpotlightCard>
);
}
















