About
A headline component that reveals a hidden line of text or image beneath the base text through a circular spotlight that follows the cursor.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Cursor Text Reveal to your project and fits it to your theme.
Code
How Cursor Text Reveal is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { CursorTextReveal } from "@/components/ui/cursor-text-reveal";
export default function CursorTextRevealDemo() {
return (
<div className="w-full h-screen flex items-center justify-center bg-zinc-950 p-6">
<CursorTextReveal
baseText="The first rule of motion is clarity."
revealText="The second rule is feeling."
containerClassName="w-full h-full"
/>
</div>
);
}








