Skip to content

Spinners

Mostly used as a loading indication, ESpinner components may be placed alone or inside other components like buttons to enhance user experience while data is retrieved from your server. It is available in a variety of colors, sizes, and shapes. We have used ESpinner component in Eloader and loader EBtn elements.

Usage

It comes in four shapes :

  1. Beat
<EBeat/>
vue

<EBeat :loading="true"/>
  1. Bounce
<EBounce/>
vue

<EBounce :loading="true"/>
  1. Clip
<EClip/>
vue

<EClip :loading="true"/>
  1. Moon
<EMoon/>
vue

<EMoon :loading="true"/>

Props

For Spinner components, the following props are available:

PropTypeDefaultNote
loadingBooleanfalseDisplays spinners.
sizeString"1.25rem"It will be assigned to width and height.
customColorString-A custom color in rgb format is applied to the Spinners (e.g, customColor="101, 89, 204").
colorString"primary"The given color is applied to the Spinners - utility colors are supported (e.g primary or danger). you'll find a list of built-in classes on the src/styles/_vars.scsspage.

COPYRIGHT