Sparkles

Animated Backgrounds

Examples Documentation

Rotation

It's possible to control sparkles' direction, and speed via data attributes in HTML. Press the buttons below to see it in action.

Rotation

 

Colors

It's possible to control sparkles' colors, and background color via data attributes in HTML.

Colors

 

Other Properties

It's also possible to control density, elongation, and lightness properties as data attributes.

Properties