Examples
Default
Custom Min Height
Centered
Centered Horizontally
Centered Vertically
Props
Loader
A layout-aware loading indicator that renders a centeredSpinnerIcon inside a relatively-positioned container. Drop-in replacement for the Olympus Loader.
string
default:"loading"
Accessible label for the loading indicator.
boolean
default:"false"
Center the spinner horizontally.
boolean
default:"false"
Center the spinner horizontally.
boolean
default:"false"
Center the spinner vertically.
string | number
default:"100%"
Minimum height of the container. Numbers are treated as pixels.
boolean
default:"true"
Whether the loader is visible. When
false, renders nothing.Exported types
Also exported from@fanvue/ui: LoaderProps.
Setup: Installation · Theming