A simple custom cursor that leaves a temporary trail wherever it goes.
Import the Mouseee code via CDN and replace {version} with the desired version.
<script
src="https://cdn.jsdelivr.net/npm/mouseee@{version}/lib/index.js"
type="module"
></script>
See all versions of the Mouse by clicking here.
1 - Hide the default cursor (Optional):
* {
cursor: none;
}
2 - Customize the cursor (Optional):
const mouseeeConfig = {
color: "#fff", // cursor border color
size: 20, // cursor size
trailColor: "#fff", // trail color
trailTime: 300, // trail duration time
showTrail: true, // show trail
clickAnimation: true, // animation on click
};
Mouseee is MIT licensed.