@pjsalita/react-mouse-trail
v1.0.8
Published
A mouse trail React component
Downloads
113
Maintainers
Readme
React Mouse Trail component by Pj Salita
A mouse trail component for React.
Live demo: here
Installation
npm i @pjsalita/react-mouse-trail
or
yarn add @pjsalita/react-mouse-trail
Usage
import MouseTrail from "@pjsalita/react-mouse-trail";
function MyComponent() {
const config = {
color: "#000000",
idleAnimation: true,
idleAnimationCount: 10,
inverted: true,
size: 20,
trailCount: 20,
};
return <MouseTrail {...config} />;
}
License
MIT License: Pj Salita <[email protected]>