About
A container that dims its background and reveals a bright radial spotlight that follows the cursor on hover.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Cursor Spotlight to your project and fits it to your theme.
Code
How Cursor Spotlight is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { CursorSpotlight } from "@/components/ui/cursor-spotlight";
export default function CursorSpotlightDemo() {
return (
<CursorSpotlight className="h-40 rounded-2xl border">
<div className="flex h-full items-center justify-center">
<span className="text-sm text-white/50">
Move cursor for spotlight
</span>
</div>
</CursorSpotlight>
);
}








