Skip to content

Global Loader

<tpg-global-loader></tpg-global-loader>

Global loaders, or skeleton loaders screen are an animated version of the user interface that mimics the page’s layout. They are to be used when the user is entering a blank new page but the back end hasn’t responded yet. The Global loading screen shows a default content in a shape similar to the actual content as it is loading and becoming available.

Component behavior

Inert. Purely a graphical element.

Examples

Singular loader

Using Rows and Columns

Use the rowsand columns prop to define the grid for your loader. It will automatically space the bars.

Custom spacing

It is possible to define the spacing however you want. Just load multiple global loaders and set your own flex style.

Tables

Properties

Attribute Property Description Type Default Value
rows rows How many rows should be rendered number 1
columns columns How many columns should be rendered number 1

Events

Event name Reactjs attribute Description
No events found.

Functions

Name Description Arguments
No functions found.

Slots

Name Description
No slots found.

CSS Parts

Attribute Description
No CSS parts found.

Sandbox