If you answer yes, we store and analyse information that helps us improve the website. You can change your choice at any time at the bottom of the page. More about what we store and why.

We also store necessary information that cannot be opted out of. This makes the website work and keeps it secure.

Skip to main content

What are you looking for?

Try searching for…

Components

Spinner

Spinner is used to indicate that content or an action is loading, and that the user must wait before they can continue.

Use spinner when

  • you need to indicate that the system is working on a task the user must wait for
  • a local action is being performed, such as submitting a form or updating a table
  • loading will take more than one second

Avoid spinner when

  • only specific parts of the page are loading — consider using skeleton instead
  • loading takes less than one second

Example

Sizes

You can adjust the size of the spinner depending on where it is placed.

Guidelines

The purpose of spinner is to reassure the user that the system is working and has not stopped. It can be used in a button, a field, or another defined area where the user is waiting for something to happen, such as saving or updating content.

Text

In some cases, it may improve the user experience to show explanatory text alongside the spinner, describing why the user has to wait. A clear explanation helps reduce uncertainty and confusion.

Edit this page on github.com (opens in a new tab)