Cursor Trail

PRO

Visual effect component that follows mouse cursor with customizable particle trails and animations to enhance user interaction.

Pro Features

Unlock advanced capabilities with the Pro version

Cursor Tracking

Smooth trail effect following mouse movements

High Performance

Optimized rendering with requestAnimationFrame

Fade Effect

Smooth particle fade-out animation

Customization

Control color, size and particle count

Duration Control

Particle lifetime and delay settings

Shape Options

Circle, square, or diamond particle shapes

Advanced Effects

Splash, galaxy, fire, neon and more

Size Variations

Dynamic particle sizes and scaling

Physics Simulation

Spring, float and explosion physics

Installation

Install via CLI

npx moonui-cli@latest add cursor-trail

Usage

Pro Required

Move Your Mouse!

👆 See the cursor trail effect inside this area

Examples

Splash Effect

PRO

Interactive splash animation on click with ripple effect

Pro Required

Click for Splash Effect!

Move and click to create ripples

Galaxy Trail

PRO

Cosmic particle effect with variable sizes and colors

Pro Required

Galaxy Trail Effect

Cosmic particles with variable sizes

Fire Trail

PRO

Burning flame effect with gradient colors

Pro Required

Fire Trail Effect

Burning particles following cursor

Elastic Spring

PRO

Springy elastic trail with physics simulation

Pro Required

Elastic Spring Trail

Physics-based elastic animation

Neon Glow

PRO

Cyberpunk neon trail with intense glow

Pro Required

Neon Glow Trail

Cyberpunk style with intense glow

Bubble Float

PRO

Floating bubbles with size variation and physics

Pro Required

Bubble Float Effect

Floating bubbles with physics

Particle Explosion

PRO

Explosive particle burst on interaction

Pro Required

Particle Explosion

Click for explosive burst effect

Morphing Shapes

PRO

Dynamic shape morphing trail

Pro Required

Morphing Shapes

Dynamic shape transformation