@erikkroes/mouse-trail

0.0.1 • Public • Published

<mouse-trail>

Party like it's 1999: add a trail to your mouse.

📦 Install it

npm i @erikkroes/mouse-trail

🛠️ Use it

Preferably, don't. You will turn your visitors into archenemies.

<script async type="module" src="mouse-trail.js"></script>

<mouse-trail>✨</mouse-trail>

🏅 3 amazing variations

Follow (Default)

<mouse-trail follow count="15">⭐</mouse-trail>

A trail of stars chasing the mouse cursor

Banner

<mouse-trail banner>Welcome to my website!</mouse-trail>

A mouse cursor with a banner that follows it reading 'Welcome to my website!'

Drop

<mouse-trail drop>❄️</mouse-trail>

A mouse cursor that leaves falling snow flakes wherever it goes

/@erikkroes/mouse-trail/

    Package Sidebar

    Install

    npm i @erikkroes/mouse-trail

    Weekly Downloads

    5

    Version

    0.0.1

    License

    MIT

    Unpacked Size

    3.08 MB

    Total Files

    7

    Last publish

    Collaborators

    • erikkroes