Cursor Motion

A lightweight JavaScript library that brings beautiful particle trail effects to your cursor

Easy Integration
Add to any website with just a script tag

No build tools or dependencies required. Works with WordPress, HTML, and any web platform.

Customizable
Full control over colors, size, and behavior

Adjust particle count, colors, sizes, and trail length to match your brand perfectly.

Lightweight
Only ~1.5KB minified

Minimal footprint with maximum impact. Optimized for performance and smooth animations.

Quick Start

Get Started in 2 Steps

1. Add the script:

<script src="https://your-site.vercel.app/cursor-motion.min.js"></script>

2. Initialize:

<script>
  const cursor = new CursorMotion();
  cursor.init();
</script>

Ready to add magic to your cursor?

Try it live and see how easy it is to integrate