npm i load-animations-reactClick here for the demo page that illustrates all the available loading animations
Name |
Description |
|---|---|
color |
Color of the spinner. Insert the color or the color code in quotes. Black by default |
Replace
LoaderNamewith the actual name of the loader. Visit the demo page to see all the available loaders.
import { LoaderName } from "load-animations-react";import { CircleLoader } from "load-animations-react";
function App() {
return (
<>
<CircleLoader color="green" />
</>
);
}
export default App;