Loader
Loader shows that an operation’s being performed without communicating how long the operation will take.

Usage

Loader is usually used as part of other components to enable loading state for them but still can be used as a standalone element.

Sizes

Loader small size is to be used within smaller-sized controls. For instance, Button uses a small Loader in it.

Colors

By default, Loader is using the primary color. However, Loader color can be defined dynamically based on the text color of the parent element using inherit color property.

Properties

NameTypeDefaultRequiredComment
sizesmall-false
colorinherit-false
classNamestring-falseclassName for the root element
attributesobject-falseAttributes for the root element