Cursor Effects is a JavaScript library that adds old-school animated cursor effects to web pages built with modern code practices.
The library solves the problem of recreating nostalgic browser cursor animations from the 1990s era in a way that works with contemporary JavaScript. It provides a collection of pre-built effects including rainbow trails, emoji rain, ghost cursors, bubbles, snowflakes, fairy dust, and text flags. Each effect is implemented as a separate module that can be instantiated independently, and the library handles canvas creation and rendering automatically. Effects respect the user's accessibility preferences by disabling animations when prefers-reduced-motion is enabled.
Developers should choose this library if they want to add playful, retro cursor animations to their projects without building the effects from scratch. It works well for portfolio sites, creative projects, or any web application where nostalgic visual flourishes fit the design. The library supports both direct script inclusion and npm installation, and can target specific page elements or the entire document. Most effects offer customization options such as changing colors, emoji, trail length, or animation speed, allowing developers to adapt the effects to their design needs.
The project maintains a focused collection of effects with straightforward setup and usage patterns. Development activity shows consistent attention to code organization and user experience, with clear documentation for both installation and customization. The codebase uses rollup for compilation and provides both CommonJS and ES module formats to accommodate different integration approaches.