Skip to main content

Loader

Example

import { components } from "replugged";
const { Loader } = components;

<Loader type={Loader.Type.WANDERING_CUBES} />;

Enums

EnumDescription
Loader.TypeLoader types
WANDERING_CUBES | CHASING_DOTS | PULSING_ELLIPSIS | SPINNING_CIRCLE | SPINNING_CIRCLE_SIMPLE | LOW_MOTION

Props

info

The props of this component extend the attributes of the span element, or div if Loader.Type.SPINNING_CIRCLE or Loader.Type.SPINNING_CIRCLE_SIMPLE type is used.

NameTypeDefaultDescription
animatedbooleantrueWhether the loader is animated
classNamestringComponent class name
itemClassNamestringClass name of all the elements inside the loader
styleCSSPropertiesComponent style
typeLoader.TypeLoader.Type.WANDERING_CUBESDefine type of loader