GithubHelp home page GithubHelp logo

pedro-isacss / mouseee Goto Github PK

View Code? Open in Web Editor NEW
8.0 1.0 2.0 83 KB

Custom cursor ๐Ÿ’ก

Home Page: https://www.pedroisac.dev/mouseee

License: MIT License

JavaScript 79.98% HTML 20.02%
cursor mouse mouseee custom-cursor custom-cursors cursor-movement mouse-trail cursor-trail mouse-movement mousemove cursors

mouseee's Introduction

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

mouseee's People

Contributors

pedro-isacss avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

mouseee's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.