amankaushik481

Cursor Spotlight Panel

Component

About

A content panel with a soft radial spotlight that follows the mouse cursor, built with Framer Motion values so it never triggers a React re-render, with a static glow fallback for touch and reduced-motion users.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Cursor Spotlight Panel to your project and fits it to your theme.

Code

How Cursor Spotlight Panel is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { CursorSpotlightPanel } from "@/components/ui/cursor-spotlight-panel";

export default function CursorSpotlightPanelDemo() {
  return (
    <div className="flex w-full items-center justify-center p-10">
      <CursorSpotlightPanel className="w-full max-w-xl" />
    </div>
  );
}

Dependencies

More by amankaushik481

View all
  • Chip Filter

    Chip Filter

    7
  • Icon Button

    Icon Button

    5
  • Background Boxes

    Background Boxes

    4
  • Emoji Picker

    Emoji Picker

    4
  • Morphing Text

    Morphing Text

    2
  • Typing Text

    Typing Text

    1
  • Treemap Chart

    Treemap Chart

    1
  • Particles

    Particles

    1