Wifi Loader
Loader with multiple circles rotating effect
Usage
import { WifiLoader } from "react-awesome-loaders";export const WifiLoaderComponent = () => {return (<><WifiLoaderbackground={"transparent"}desktopSize={"150px"}mobileSize={"150px"}text={"Wifi Loader"}backColor="#E8F2FC"frontColor="#4645F6"/></>);};
Parameters
Below are the parameters for WifiLoader that you can customize.
Option | Description | Type | Default |
---|---|---|---|
className | class attribute for loader | String | wifiloader |
text | Text appearing under loader | String | Loading... |
background | Background color of loader | String | transparent |
textColor | Color of text appearing under loader | String | #414856 |
frontColor | Primary color of rotating circles | String | #4F29F0 |
backColor | Secondary color of rotating circles | String | #C3C8DE |
size | Size of the logo | String | 64px |
desktopSize | Size of the logo on desktop | String | (empty) |
mobileSize | Size of the logo on mobile | String | (empty) |
size
,desktopSize
andmobileSize
attributes are defined relative to64px
for all loaders and it doesn't mean the actual size would be64px
. It means all the sizes defined will be w.r.t64px
. If you pass128px
then the size doubles. Also, note that if one of thedesktopSize
andmobileSize
is not defined, then it will use thesize
attribute. Value defined insize
attribute is assigned for mobile devices and loader automatically doubles the size on desktop device.
❤️ Inspired from codepen by Milan Raring