Skip to content

pedro-isacss/mouseee

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mouseee

NPM jsDelivr hits (npm) npm

A simple custom cursor that leaves a temporary trail wherever it goes.


Get Started

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.

Customizing

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
};

Licence

Mouseee is MIT licensed.

More details