Loading

Indicate an action running in the background.

General

Code Editor

with text

Customize text next to icon.

Code Editor

types

Loading indicators in different states.

Code Editor

spaces

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

Code Editor

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'

Geist is an open source project from the community.

And is powered by Netlify.