This package is implemented based on the styles provided by LoadLab. And it relies on Styled Components.
The main purpose of this package is to provide a lightweight, and fancy looking loaders for your react applications. That's why it relies on ESM to allow you to use tree-shaking to reduce the bundle size, by only including the loaders/components that you'll use.
To install react-fancy-loader
run:
yarn add react-fancy-loader
or
npm i --save react-fancy-loader
<NoBorderSpinner size={60} color="red" stroke={3} duration={1000} />
<BorderTopSpinner
size={70}
color="red"
outlineColor="#222"
stroke={4}
duration={700}
/>
<DoubleBorderSpinner
size={70}
color="red"
outlineColor="#222"
stroke={4}
duration={700}
/>
<DotLoader size={10} color="red" duration={1000} />