@pechuri/sparkles
v1.0.1
Published
https://joshwcomeau.com/react/animated-sparkles-in-react/
Downloads
7
Readme
sparkles
https://joshwcomeau.com/react/animated-sparkles-in-react/
This library provides two named exports: the Sparkles React component, and the useRainbow React hook.
Sparkles
takes a single prop: color. You can either pass a single color or an array of colors. The useRainbow hook is for generating colors for the Sparkles component if you want your sparkles to be multicolored.