About
A canvas-based custom cursor effect that streams hot fire particles behind the mouse, with embers that burst outward on click.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Fire Trail Cursor to your project and fits it to your theme.
Code
How Fire Trail Cursor is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import FireTrailCursor from "@/components/ui/fire-trail-cursor";
import { useRef } from "react";
export default function FireTrailCursorDemo() {
const containerRef = useRef(null);
return (
<div
ref={containerRef}
className="relative w-full h-screen overflow-hidden bg-black"
style={{ cursor: "none" }}
>
<FireTrailCursor
containerRef={containerRef}
config={{
count: 5,
rise: 2,
size: 4,
pointerAnim: true,
pointerAlpha: 0.35,
pointerSizeMult: 1.5,
clickAnim: true,
clickEmberCount: 25,
}}
/>
</div>
);
}







