Skip to main content

Spinner

A spinner is a visual element that indicates an ongoing activity or loading progress.

Dos and don'ts

Do
  • Use a spinner whenever the anticipated wait time is between 2 and 5 seconds.
  • Use when retrieving data or performing slow computations to notify the user that their request is being processed.
Don't
  • Avoid showing multiple spinners on a single page.


Anatomy

Number one attached to the spinner component.
  1. Spinner: Visual indicator that continuously animates.

Variants

Brand

Brand variant of the spinner component.

Secondary

Secondary variant of the spinner component

Secondary dark

Secondary dark variant of the spinner component.

Inverse

Inverse variant of the spinner component.

Inverse light

Inverse variant of the spinner component in white and grey colour on a black background

Size

Outlines the spinner sizes that are available, and where they should be used across our products.

ComponentNameSize (px)Role examples
XSXS16 x 16-
SS20 x 20Buttons, Chip.
MM24 x 24Icon Buttons, Uploader.
LL32 x 32-
XLXL48 x 48Whole page.

Placement

Spinners are positioned to indicate the process that they represent.

Centered

When centered on the screen, they indicate the initial loading of screen content.

Example of the spinner component centered on the screen to indicate the initial loading of screen content.

Above or below

When placed above or below existing content, they draw attention to where new content will appear.

Example of the spinner component placed below existing content

Within a component

When placed within a component, they indicate the action is being placed after an interaction with the certain component, to express a connection between an interaction and a specific item. They are also typically used to express when an interaction, such as clicking a button again, isn’t available.

Example of the spinner component placed within a component to indicate that an action is being processed.
Example of the spinner component placed within a component to indicate that an action is being processed.

Animation

Preview the Spinner animation here.

Example of the spinner component animation.

Examples

Example of the spinner component in a button.
Example of the spinner component in an icon button.
Example of the spinner component in the uploader.
Back to top