ComponentsLoader

Loader

A loader component that displays a loading animation.




The Loader component is a loader component that displays a loading animation. It is a great way to show users that content is loading and to keep them engaged while they wait.


Tip!

Use the type prop to specify the type of loader to display. The spinner type displays a spinning circle loader, while the dots type displays a three-dot loader.




Props

The Loader component accepts the following props:

PropTypeDefaultDescription
typestringspinnerThe type of loader to display. Possible values are spinner and dots.
classNamestringAdditional classes to apply to the loader.



Usage Examples

Spinner Loader

Dots Loader