Skip to content

Feedback

Loading

Bundle size
1.04 KB
3.0.2

This element visually represents that the application is busy. Useful to inform the user that they must wait while an action is processed.

This is an original component from Inpulse.

It has two variations: Ellipsis and Spinner. The first displays a loading animation with ellipsis, while the second displays a circular spinner.

Terminal window
pnpm add @inpulse-ui/loading

Contains all parts of a loading.

PropTypeDefault ValueRequired
activebooleantrueNo

Represents the spinner group.

PropTypeDefault ValueRequired
sizeenumNo

Represents the loading bar of the spinner.

PropTypeDefault ValueRequired
monobooleanfalseNo

Represents the dots of the ellipsis loading element.

PropTypeDefault ValueRequired
monobooleanfalseNo
sizeenumNo

Insert the LoadingSpinner or LoadingEllipsis component inside Loading, depending on the variation you want to use.

<Loading>
<LoadingSpinner>
<LoadingSpinnerTrack />
<LoadingSpinnerBar />
</LoadingSpinner>
</Loading>

By default, Loading accent elements will be assigned the theme’s primary color. But you can customize the color through CSS classes applied directly to LoadingSpinnerBar.

Adopt a monochromatic style for Loading by setting the mono property to true. This style will adapt to the system’s light and dark mode.

It is possible to define the size of the loading element through the size property, which can be applied to both LoadingSpinner and LoadingEllipsis. Available values are sm, md and lg. If nothing is defined, the default size will be md.

<LoadingSpinner size="lg" />

Project

Built with by Jo Santana in Brazil.

© 2026 Inpulse. All rights reserved.