Skip to main content

Loading State

UI Design

What is a 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 instead of clicking again or leaving.

Types of Loading States

  • Skeleton screen: A gray outline of the page for full-page loads
  • Spinner: A looped animation for short waits
  • Progress bar: Shows how much is done for long waits
  • Button loading: A spinner inside the button that was clicked

When to use each Loading State

Base the choice on the wait time. Under about 1 second, show nothing, because a flash of animation is distracting. For 2 to 10 seconds, a spinner works. For 10 seconds or more, use a percent-done indicator and a way to cancel.

Why Loading States matter

Response time research by Jakob Nielsen shows that users lose focus after about 10 seconds. Clear loading feedback reduces uncertainty, and NN/g reports that users are willing to wait longer when they see a dynamic progress indicator.

Frequently asked questions

Which loading indicator should you use?

It depends on the wait. Show nothing for delays under about 1 second, a spinner or looped animation for 2 to 10 seconds, and a percent-done progress bar for 10 seconds or more. Skeleton screens suit full-page loads.

Should you show a loading indicator for very short waits?

No. NN/g advises against looped animations for waits under 1 second, because they flash on screen too fast to read and can make users anxious.

What is a button loading state?

When an action takes a while, the button shows a spinner next to or in place of its label and stops accepting clicks. When the action is done, the spinner often changes into a check mark.