Variants
Loading preview...

API Reference

Props for <SparkTrail />

S

Motion score

Compositor-only

Category
Cursor Effects
Framework
React
Published
Dec 4, 2026
Dependencies
Variants

Spark Trail

A canvas spark shower that strikes sparks along the pointer's path as it moves across the area, over a steady shower falling from a glowing source. Each spark is thrown with the pointer's momentum, arcs under gravity and cools from white-hot through amber to red. Colors, shower position and rate, gravity, life, speed and spark size can all be set.