Loader
The
Loader
component is used to render a loading state.Basic usage
tsxCopied1<Loader />
Variants
tsxCopied1<Loader variant="oval" />2<Loader variant="bars" />3<Loader variant="dots" />
Component API
color
optional
Default
primary
Color of the loader.
grow
optional
If true, the element will grow to fill available space.
This prop works only if the element is a direct child of a Stack.
height
optional
Default
auto
size
optional
Default
md
Size of the loader.
variant
optional
Default
oval
Appearance of the loader.
width
optional
Default
auto