Loader

In an application, it is important to inform the user that his interaction has worked. The Loader component show to the user that now the application is waiting for a result from a backend or a service.

Color

Set the color of the loader.

TypeDefault Value
stringneutral
<NVStack Gutter="4" Justify="center">
  <NVLoader Color="neutral" Loading/>
  <NVLoader Color="primary" Loading/>
  <NVLoader Color="secondary" Loading/>
  <NVLoader Color="success" Loading/>
  <NVLoader Color="error" Loading/>
</NVStack>

Loading

Display or hide the loader

TypeDefault Value
boolfalse
<NVStack Gutter="4" Justify="center">
  <NVLoader Loading />
</NVStack>

Size

Set the size of the loader.

TypeDefault Value
stringmd
<NVStack Gutter="4" Justify="center">
  <NVLoader Loading Size="xs" />
  <NVLoader Loading Size="sm" />
  <NVLoader Loading Size="md" />
  <NVLoader Loading Size="lg" />
  <NVLoader Loading Size="xl" />
</NVStack>
On this page