Skip to content

Spinner and skeleton

An Apple-style activity indicator, and placeholders shaped like the content that is loading.

npx dtheo@latest add spinner

Recent runs

Fetching runs from Bench 3…

When to use

  • Waits over ~300ms
  • Skeletons that match the final layout so nothing shifts
  • Content with a known shape: use Skeleton so nothing shifts
  • Waits under ~300 ms: show nothing

Used in