@scorder/react-mouse-trail
v1.1.3
Published
A mouse trail React component
Downloads
10
Readme
React Mouse Trail component by Pj Salita
A mouse trail component for React.
Live demo: here
This package was originally authored by Pj Salita.
I updated the dependencies to resolve vulnerabilities.
Installation
npm i @scorder/react-mouse-trail
or
yarn add @scorder/react-mouse-trail
Usage
import MouseTrail from "@scorder/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: scorder <[email protected]>