Loader

The Loader component provides a reusable pattern for loader in the interface.

Size

Color

API

Parameter Default Description
div The tag for the component
circular Visual shape for the loader (circular, linear)
md Size for the loader (xs, sm, md, lg, xl)
black black, white, secondary, primary
Loading text

CSS API

Variable Default Type Values Description
var(--base) range - Main unit that drives radius and spacing scales.
var(--color--primary) color - Primary
var(--color--secondary) color - Secondary
var(--color--surface-contrast) color - Used for text and icons on surface backgrounds with less contrast.

Similar components