Skip to content

Skeleton loader or spinner?

Copy page

A skeleton loader, a spinner and a progress bar all say that something is loading. They differ in what else they tell people: a skeleton shows what is coming and where, a spinner only that the page is working, and a progress bar how long is left. Choose by what is loading and how long it takes.

A skeleton loader suits content whose layout you know before the data arrives: a list, a feed, a card, a profile, a table, a chart, a number on a dashboard. It holds the content’s place, so nothing jumps when the content arrives, and people can see where to look before it does.

In Dotquilt, that’s a loading region with a placeholder in the content’s shape:

A spinner suits a short wait after something people did, when there’s no content shape to show: a button that saves, a form that submits, a dialog that confirms. Keep it on the control that started the work. Dotquilt isn’t for actions: keep your spinners there.

For a wait you can measure, such as an upload, an export or a long import, a progress bar tells people how long is left. Nielsen Norman Group’s guidance is to use skeleton screens and spinners for waits under about 10 seconds, and to show progress beyond that (Skeleton Screens 101, Progress Indicators).

Below about a tenth of a second, a response feels instant, and up to about a second it doesn’t interrupt the flow of thought (Response Time Limits). A placeholder that appears and vanishes inside that time only flashes. A Dotquilt region has two settings for this:

  • delay: a load shorter than this never shows the placeholder, so a fast answer shows none;
  • min-display: a placeholder that did show stays at least this long, so it never flickers.

Values around 150 ms and 500 ms suit most screens. See LoadingRegion.

When you already show data and fetch a newer copy, don’t replace it with a skeleton: people lose their place. Use the region’s refreshing state instead, which keeps the content visible and usable while the new data loads. See LoadingRegion.

Whatever you choose, label what is loading and announce the result in your own words. Dotquilt’s loaders are silent and their pending content is skipped by screen readers: see What screen readers hear.