eazydot
v0.0.2
Published
Elevate your Loader component with these customizable dot animation.
Readme
eazydot animation
Elevate your Loader component with these customizable dot animation.
Installation
Based on the colors array you'll get the dot count.
For eg:- if you want to display 4 dots you have to pass 4 colors in the colors prop.
Restart the Application and clean the cache if there's change in the props.
Properties
| Prop | Type | Default Value | Description |
|----------------|----------|------------------------------|---------------------------------------|
| size | number | 10 | The diameter of each dot. |
| gap | number | 5 | The horizontal spacing between the dots. |
| bounceHeight | number | 10 | The height of the bounce animation. |
| colors | string[] | ['#3498db', '#e74c3c', '#f1c40f'] | Array of colors for the dots. |
