LoadingScreen
Full-page centered Loader: use it while a whole page (or the app) is loading. It takes the same variant, size, label and description as Loader and shows the fan by default.
It fills the space of its parent, so give it a full-height container; the example below shows it inside a fixed-height box.
Loading
To see it the way your users will, open it as a whole page:
Opens it on a page of its own, without the docs around it.
Props
variantstringDefault:'fan'Same as Loader.
size'sm' | 'md' | 'lg'Default:'md'Same as Loader.
labelstringDefault:'Loading'Same as Loader.
descriptionstringSame as Loader (card variant).
iconstring | ReactNodeSame as Loader.
iconMotion'spin' | 'pulse' | 'bounce' | 'none'Default:'spin'Same as Loader.
| Prop | Type | Default | Description |
|---|---|---|---|
variant | string | 'fan' | Same as Loader. |
size | 'sm' | 'md' | 'lg' | 'md' | Same as Loader. |
label | string | 'Loading' | Same as Loader. |
description | string | – | Same as Loader (card variant). |
icon | string | ReactNode | – | Same as Loader. |
iconMotion | 'spin' | 'pulse' | 'bounce' | 'none' | 'spin' | Same as Loader. |