Spinner

Spinner indicates a progress of an action that can't be measured or estimated.

#

#

#

The default variant renders a circular progress indicator.

Use the squares variant for a sliding squares animation.

#

Extra small

Small

Medium (Default)

Large

Slow

Normal

Fast

#

Extra small

Small

Medium (Default)

Large

Slow

Normal

Fast

#

#

  • When action is expected to finish quickly, in about 5 seconds max.
  • When you need to display an indication of a progress immediately after user performs an action.

#

  • Default variant: Use for most loading states. Provides a familiar circular progress indicator.
  • Squares variant: Use when you want a more distinctive loading animation that stands out from the default spinner.

#

  • If action was performed in the past, prior to user loading the current page, use a progress bar.
  • If action is expected to run for a long time, use a progress bar.

#

Inherits margin props.

NameDefaultDescription
size"md""xs" | "sm" | "md" | "lg"

Spinner size.

speed"normal""slow" | "normal" | "fast"

Spinner speed.

variant"default""default" | "squares"

Spinner variant determines the animation style.

On this page

  • Example
  • Usage
  • Variants
  • Sizes and Speeds
  • Squares Variant Examples
  • Guidelines
  • When to use
  • Variant selection
  • When not to use
  • Props