Glowing Trail Cursor
The GlowingTrailCursor adds a glowing trail effect to the cursor. You can customize the properties below:
import { GlowingTrailCursor } from 'funky-cursor'; const Example = () => { const [color, setColor] = useState('#ffcc00'); // Default color const [size, setSize] = useState(10); // Default size const [trails, setTrails] = useState(5); // Default trails const [lifespan, setLifespan] = useState(500); // Default lifespan (in ms) return ( <div> <GlowingTrailCursor color={color} size={size} trails={trails} lifespan={lifespan} /> </div> ); };
Size: 10
Move your cursor around to see the glowing trail effect!