Free guideThe newsletter. Real UI fixes by email, and a free 35-page guide to AI design skills.
Ship Better UI

, 1 minute 35 seconds

What should you show while a page loads?

The rule

For waits of 1 to 10 s, show a skeleton, not a spinner: grey blocks in the shape of the content, drawn at its final height, so it swaps in place and moves 0 px.

Try it

Apply the fix

Prompt for your AI coding tool

Paste it into Claude Code, Cursor or any AI coding tool, then share the page you want fixed.

Review the interface I share for places that show a spinner while content loads, and replace them with skeletons. Change nothing else.

1. Shape: show grey blocks in the shape of the content that is coming. A circle where each photo goes, a bar for each line of text, one big block for an image, one block per button.
2. Final height: draw the skeleton at the height the loaded content will take, so the real content swaps in place and nothing below it moves. A button under the list should move 0 px.
3. Under 10 s: use a skeleton for waits under 10 seconds. Under 1 second, show nothing, because a skeleton would only flash. Over 10 seconds, show a progress bar with the time left.

Keep the content, the features and the layout. When you are done, list each loading state you changed: what it showed before, what it shows now, and how far the content below it moved before and after.

More prompts like this in the free guide 

The problem

Tap Team in the video's example app, and the member list takes 2 seconds to load. Meanwhile, you get a spinner. A spinner says something is loading, but not what, or how big it will be. Then the list arrives, the card grows, and the Invite button jumps down 120 px. Aim for it, and your tap lands on a list row instead.

The fix

Keep the same 2 second wait. Change the placeholder.

  1. Shape. Show a skeleton: grey blocks in the shape of the content. A circle where each photo goes, and a bar for each line of text.
  2. Final height. Draw it at the height the list will take, so the real list swaps in place. The button moves 0 px, and your tap lands.
  3. Under 10 s. Use it for waits under 10 seconds, as Nielsen Norman Group advises.

Why it works

The spinner hides the size of what is coming, so the page has to make room when it arrives. The skeleton has already made that room. Same wait, same list: the spinner makes the page jump, while the skeleton shows the shape and holds still.

It works for any layout. A photo card gets one big block where the image goes. A list of buttons gets one block per button.

How to apply it

Find each spinner that stands in for content. Replace it with grey blocks in the shape of that content, at its final height, so the real content swaps in place.

Then pick by the length of the wait. Under 1 second, show nothing: a skeleton would only flash. Under 10 seconds, show a skeleton. Over 10 seconds, show a progress bar with the time left.

Free guide · 35 pages

Get fixes like this by email

Join the newsletter and get the 35-page guide to AI design skills: the skills, the order to use them in, and prompts to copy.

Watch it on

More on states