CSS-only spinners of loading.io for React
React Spiners using Loading.io
CSS-only spinners of loading.io for React.
Installation
Using npm:
npm install react-loading-io --save
Using yarn:
yarn add react-loading-io
Usage
// Import Package
import { Eclipse } from "react-loading-io";
// Use Component
const Index = () => {
return <Eclipse size={64} />;
};
Loader | size:int | thickness:int | speed:int | color: str |
---|---|---|---|---|
Eclipse | 200 | 2 | 1 | #f08d43 |
Rolling | 200 | 20 | 1 | #f08d43 |
DualRing | 200 | 4 | 1 | #f08d43 |
Ball | 200 | 4 | 1 | #f08d43 |