Description
gradient-spin is an MIT-licensed React loading indicator: a spinning matrix of colored squares with gradient color presets. You install it from npm with npm i gradient-spin and render a GradientSpin component. The props let you pick a gradient preset such as sunrise, bubble, peach, tonic, mint, spring, twilight or bay, or pass your own color stops. The pattern is set with arrow-up, diagonal, snake or ripple, and you can control the grid with rows and columns, cell size, cell gap and cell corner radius. Timing is set with a period in milliseconds, and dimming with a value from 0 to 1. Colors can follow the path of the animation or change by row. The demo page shows the presets and patterns side by side, and the defaults are a three by three grid with a 750 millisecond period. It is a small component for loading states in React apps. The author is listed as @mona_biasia, and the source is on GitHub under BIAsia/gradient-spin.…
Highlights
- Gradient matrix spinner for React
- Gradient presets and custom color stops
- Arrow, diagonal, snake and ripple patterns
- Adjustable grid, cell size, timing and dimming
- MIT license
Ratings & Reviews
No ratings yet
Be the first to rate Gradient Spin.
People also visit
Gradient Spin FAQ
What is gradient-spin?
A spinning gradient loading indicator for React, drawn as a grid of colored squares.
How do I install it?
Run npm i gradient-spin, then render the GradientSpin component in your React app.
Can I change the colors?
Yes. Choose a preset such as sunrise or mint, or pass your own gradient stops.
What license is it under?
The page shows the MIT License.
Where is the source?
On GitHub under BIAsia/gradient-spin, by @mona_biasia.
What are the best Gradient Spin alternatives?
Popular alternatives to Gradient Spin include react-spinners-kit, react-spinners and react-loading. See all Gradient Spin alternatives















