Loading State

The loading state component provides an elegant loading overlay to indicate loading status of a page or area.

Usage Examples

Default Usage

The most basic usage, displaying the default loading text.

300px

Custom Text

Use the text property to customize the loading status text content.

300px

Timeout Indicator

When loading takes longer than the specified seconds, a timeout message is displayed to inform users.

300px

Custom Timeout Message

Use the timeoutText parameter to customize the timeout message displayed when loading takes longer than expected.

300px

Non-Fullscreen Mode

By setting the fullscreen parameter to false, the loading state only covers its container area, not the entire screen.

300px

Properties

PropertyBasic component module for translation keys shared across all component documentation pagesTypeDefault
textText displayed during loading, uses default text if not specifiedstringnull
timeoutSecondsSeconds after which to show a timeout message, set to 0 for no timeoutnumber30
timeoutTextText displayed in the timeout message, uses default text if not specifiedstringnull
fullscreenWhether to display loading status in fullscreen mode, true for fullscreen, false to display only within the parent containerbooleantrue
Design Empowers, Innovation Unlimited