Loading

Indicate an action running in the background.

Default

with text

Customize text next to icon.

sizes

Components of different sizes.

type

Loading indicators in different states.

APIs

Loading.Props

AttributeDescriptionTypeAccepted valuesDefault
typebg-color typeNormalTypes'default', 'secondary', 'success', 'warning', 'error'default
sizeloading sizeNormalSizes'mini', 'small', 'medium', 'large'medium
colorcustom bg colorstring--
widthcustom widthstring-100%
heightcustom heightstring-100%
...native propsHTMLAttributes'id', 'title', 'className', ...-