Loading

Indicate an action running in the background.

General

with text

Customize text next to icon.

types

Loading indicators in different states.

spaces

Customize the space between points. (the ratio is relative to the current size)

APIs

Loading.Props

AttributeDescriptionTypeAccepted valuesDefault
typebg-color typeLoadingTypesLoadingTypesdefault
colorcustom bg colorstring--
spaceRatiopercentage of space between pointsnumber-1
...native propsHTMLAttributes'id', 'title', 'className', ...-

LoadingTypes

type LoadingTypes = 'default' | 'secondary' | 'success' | 'warning' | 'error'