Loading
Component Features
- ⏳ 5 Visual Variants: Supports
spinner,ring,bar,wave,dotsloading indicators. - 📏 4 Sizes: Supports
sm,md,lg,xlsizes. - 🌈 Color Control: Supports
colorprop to control indicator color. - 📝 Text Loading: Supports displaying text alongside the loading indicator.
- 🖥️ Fullscreen Mode: Supports fullscreen overlay loading.
- ❌ Disabled: Supports
disabledprop. - 🎨 Theme Customization: Based on
BrConfigProviderfor global theming and TailwindCSS local overrides.
Basic Usage
The simplest loading indicator.
Variants and Sizes
Supports five variants: spin, ring, pulse, dots, bar, and four sizes: sm, md, lg, xl.
Inline and Text
Use the inline prop to display the loader inline with text, and use the text prop to add a loading message.
Fullscreen
Use the fullscreen prop to cover the entire screen, commonly used for page transitions or blocking operations.
Theming
Customize globally via BrConfigProvider or locally via CSS variables.
Custom Color and Size
Pass color and size directly via props.