Starburst Trail Cursor
The StarburstTrailCursor adds a starburst effect to the cursor trail. You can customize the properties below:
import { StarburstTrailCursor } from 'funky-cursor'; const Example = () => { const [color, setColor] = useState('#ffff00'); // 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> <StarburstTrailCursor color={color} size={size} trails={trails} lifespan={lifespan} /> </div> ); };
Size: 10
Move your cursor around to see the starburst trail effect!