About
a simple and interesting text cursor
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Text cursor to your project and fits it to your theme.
Code
How Text cursor is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import TextCursor from "@/components/ui/text-cursor";
const TextCursorDemo = () => {
return (
<div className="flex w-full min-h-screen justify-center items-center bg-black p-8">
<div className="w-full h-[400px] relative">
<TextCursor
text="🖱️"
delay={0.02}
spacing={50}
followMouseDirection={true}
randomFloat={true}
exitDuration={0.4}
removalInterval={25}
maxPoints={15}
/>
</div>
</div>
);
};
export { TextCursorDemo };







