Loader

Loader shows that an operation’s being performed without communicating how long the operation will take.
Supports inheriting its color from the parent element


Usage

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

Sizes

Loader small size is the default size and is used with small-sized components like Button. medium Loader size is to be used for larger components or page sections.

Colors

Loader is coming in primary color, but can also inherit its color from the parent element text color.

Properties

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