Wifi Loader

Loader with multiple circles rotating effect

Usage

import { WifiLoader } from "react-awesome-loaders";
export const WifiLoaderComponent = () => {
return (
<>
<WifiLoader
background={"transparent"}
desktopSize={"150px"}
mobileSize={"150px"}
text={"Wifi Loader"}
backColor="#E8F2FC"
frontColor="#4645F6"
/>
</>
);
};

Parameters

Below are the parameters for WifiLoader that you can customize.

OptionDescriptionTypeDefault
classNameclass attribute for loaderStringwifiloader
textText appearing under loaderStringLoading...
backgroundBackground color of loaderStringtransparent
textColorColor of text appearing under loaderString#414856
frontColorPrimary color of rotating circlesString#4F29F0
backColorSecondary color of rotating circlesString#C3C8DE
sizeSize of the logoString64px
desktopSizeSize of the logo on desktopString(empty)
mobileSizeSize of the logo on mobileString(empty)

size, desktopSize and mobileSize attributes are defined relative to 64px for all loaders and it doesn't mean the actual size would be 64px. It means all the sizes defined will be w.r.t 64px. If you pass 128px then the size doubles. Also, note that if one of the desktopSize and mobileSize is not defined, then it will use the size attribute. Value defined in size attribute is assigned for mobile devices and loader automatically doubles the size on desktop device.

❤️ Inspired from codepen by Milan Raring