Loading Spinner
UI DesignWhat is a Loading Spinner
A loading spinner is an animated circular icon that shows the system is busy. It tells users that something is happening in the background, such as loading data or saving a form, without saying how long it will take. Older sources call it a throbber.
How a Loading Spinner works
A spinner is an indeterminate indicator. It loops until the task ends. It can appear on its own, inside a button, or over a section of the page that is updating.
When to use a Loading Spinner
- Use it for waits of about 2 to 10 seconds
- Skip it for waits under 1 second, where a flash of animation distracts
- Replace it with a progress bar for waits over 10 seconds
- Prefer a skeleton for full-page loads
Loading Spinner best practices
Place the spinner where the content will appear or inside the button that started the action. Add a short label for longer waits, such as "Saving". Give it an accessible name so screen reader users also know the page is busy.
Frequently asked questions
When should you use a loading spinner?
For waits of about 2 to 10 seconds where you cannot tell how long the task will take. For shorter waits, show nothing; for longer ones, use a progress bar with a percentage.
What is the difference between a spinner and a progress bar?
A spinner is indeterminate: it shows that something is happening but not how long it will take. A determinate progress bar shows how much is done and how much is left.
What is the difference between a spinner and a skeleton screen?
A spinner is a generic animation. A skeleton screen shows the layout of the content that is loading, which works better for full-page loads.
Related terms
View all UI Design terms →Loading State
A loading state is what users see while content or an action is in progress . It tells users that the system is working, so they wait…
Progress Indicator
A progress indicator is a UI element that shows a process is running , and often how far along it is. It covers progress bars, circular…
Skeleton Screen
A skeleton screen is a placeholder that shows the layout of a page while it loads . Gray boxes and lines stand in for images and text, so…
Micro-interactions
Micro-interactions are contained product moments that perform a single, specific task. They are the small, subtle animations and responses…
Interactive States
Interactive states are the visual changes that show how a component responds to the user. They tell users whether an element can be used…
Doherty Threshold
The Doherty Threshold says that productivity soars when a computer and its users interact at a pace under 400 milliseconds , so neither…
