Introduction to AnimeCursor

What is AnimeCursor?

AnimeCursor is a front-end JavaScript library that let web pages have frame‑by‑frame animated cursors.
Unlike native cursors (which cannot animate frame‑by‑frame), AnimeCursor uses pure CSS to create smooth, high‑performance animated cursors – no simulated divs, no JavaScript mouse‑move overhead.

You just prepare your animated cursor images (independent frames), tell AnimeCursor what cursors you need, and it will automatically generate the CSS rules. This gives you a highly customizable animated cursor experience with perfect hotspot accuracy and native‑level performance.

AnimeCursor focuses on visual presentation, making it perfect for:

It also works well in more conventional contexts:

AnimeCursor provides a complete lifecycle API. You can temporarily disable the custom cursor (disable()) where system behavior is required, and re‑enable it (enable()) when animations are needed.

※ AnimeCursor was originally written for my personal website. After realizing I didn't need to reinvent the wheel for every new project, I extracted it into a standalone library.

Features

Browser Support

AnimeCursor relies on modern CSS features (cursor: url(), @keyframes) and is not guaranteed to work on older browsers.