Skip to content

Latest commit

 

History

History
69 lines (42 loc) · 2.59 KB

README.md

File metadata and controls

69 lines (42 loc) · 2.59 KB

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;