Feedback

Spin

Basic


Description

This component is used to display a loading indicator.


API

Supports global configuration

View the default configuration for this component. Learn more about global configuration.

import { LuiSpinModule } from '@lqvrent-workspace/lqvrent-ui/spin';
<lui-spin luiSimple></lui-spin>

<lui-spin [luiSpinning]="isSpinning">
  <!-- Blurred content while spinning -->
</lui-spin>

lui-spin

component Standalone
PropertyDescriptionTypeDefault
[luiSimple]Set to true if the spin has no childrenbooleanfalse
[luiSize]Size of the spin. If provide a string, must be a valid CSS unit (ex: 1rem)'small' | 'default' | 'large' | string'default'
[luiIndicator]Custom indicatorTemplateRef<void>defined in config
[luiSpinning]Whether the spin is showingbooleantrue
[luiDelay]Delay (in ms) before the spin is shownnumber0
[luiTip]Description of the spinstring-

More examples

Sizes

This is text, as a reference

Use small in inline text, default in card-level block, and large in a loading page.

Inside container

Embedded

Action completed successfully

Very important stuff that you need to know.

Description

Loading...
Action completed successfully

Very important stuff that you need to know.

Loading...
Loading...

Delay

Action completed successfully

Very important stuff that you need to know.

If luiSpinning ends during delay, loading status won't appear.

Custom indicator

This is text, as a reference
Previous
Empty