About
A custom animated cursor that replaces the pointer with a pulsing neon-colored glowing dot, growing and dimming over hovered buttons/links and cycling through neon colors on click.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Neon Glow Cursor to your project and fits it to your theme.
Code
How Neon Glow Cursor is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
import NeonGlowCursor from "@/components/ui/neon-glow-cursor";
import { useRef } from "react";
export default function NeonGlowCursorDemo() {
const containerRef = useRef<HTMLDivElement>(null);
return (
<div
ref={containerRef}
className="relative w-full h-screen overflow-hidden bg-black flex items-center justify-center gap-6"
style={{ cursor: "none" }}
>
<NeonGlowCursor
containerRef={containerRef}
config={{
color: "#7c5cfc",
size: 10,
pulseSpeed: 0.5,
glowRadius: 5,
opacity: 1.0,
pointerAnim: true,
pointerScale: 3.0,
clickAnim: true,
}}
/>
<button className="px-5 py-2.5 rounded-md bg-white text-black font-medium">
Primary
</button>
<button className="px-5 py-2.5 rounded-md border border-white/30 text-white font-medium">
Secondary
</button>
</div>
);
}







