Skip to content

Loader

<bh-loader> | BharatLoader

The Loader component supports two variants: a circular spinner and bouncing dots, allowing customization of size, color, and animation speed.

Basic Usage

Types of Loaders

Spinner

Dots

Customizing Spinner

Size

Color

Speed

Customizing Dots

Complete Customization Example

Loader in Loading State

Open in flex-shrink: 0; flex-shrink: 0;

Loading data, please wait…

Full Page Overlay

Properties

PropertyTypeDescription
variantstringType of loader: "spinner" or "dots"
sizestringSize of the spinner loader
colorstringColor of the loader (both variants)
speedstringRotation speed (only for spinner)