The loader indicates loading of data in a panel, section or screen. The loader
lays on top and fills the entire section and/or panel which contains content in
loading state, thus hindering any user interaction on the unloaded content.
Component behavior
Displays a centered loading spinner and optionally an animated label
underneath.
<tpg-area-loaderlabel="Im a custom label"></tpg-area-loader>
</div>
functionSomeComponent() {
return (
<>
<div
style={{
display: "flex",
flexDirection: "column",
height: "300px",
}}
>
<tpg-area-loaderlabel="Im a custom label"></tpg-area-loader>
</div>
</>
);
}
Tables
Properties
Attribute
Property
Description
Type
Default Value
hide-label
hideLabel
Designates if the loading label should be present or not.
boolean
false
label
label
The label to be displayed when the loader is active, defaults to 'Loading'.
Automatically adds three dots at the end of the label with blinking animation.