Loading spinner

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

LoadingSpinner.Props

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

LoadingSpinnerTypes

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