/load-animations-react

Npm package that renders pure CSS loading animations as a ready to use component for ReactJs.

Primary LanguageCSS

load-animations-react


Pure CSS animations as ready to use components for reactjs


Instalation


npm i load-animations-react

Demo

Click here for the demo page that illustrates all the available loading animations


Attributes


Name
Description
color Color of the spinner. Insert the color or the color code in quotes. Black by default

Importing the Loaders


Replace LoaderName with the actual name of the loader. Visit the demo page to see all the available loaders.


import { LoaderName } from "load-animations-react";

Example


Given below is a simple implementation of the package.


import { CircleLoader } from "load-animations-react";

function App() {
  return (
    <>
      <CircleLoader color="green" />
    </>
  );
}

export default App;