Skip to content

Feedback

Skeleton loader

Also calledskeleton screenshimmerplaceholderghost loadingloading placeholder

Gray placeholder shapes that mimic the layout of content that is still loading, so the page doesn't jump when the real content arrives.

How people describe it

  • “gray boxes that stand in for content while it loads”
  • “shimmering placeholder blocks shaped like the page”
  • “fake grey lines where text will appear”

Good for

  • Lists, cards, and profiles loading from an API
  • Anywhere a spinner would feel slow or jumpy

What your library calls it

LIBRARYCALLS IT
shadcn/uiSkeleton
MUISkeleton
Chakra UISkeleton
MantineSkeleton

Accessibility checklist

  • Mark the loading region with aria-busy
  • Respect prefers-reduced-motion for the shimmer
  • Hide purely decorative placeholders from screen readers

Try it

Loading content…

Press Load content to swap the gray shapes for real content.

Prompt

Replace the list spinner with skeleton placeholders.

~13 estimated prompt tokensDetailed: ~58 estimated prompt tokens

Rough estimate for prompt text only; actual counts vary by model and context.

<div className="flex items-center gap-3" aria-busy="true">
  <div className="h-10 w-10 animate-pulse rounded-full bg-gray-200" />
  <div className="space-y-2">
    <div className="h-3 w-40 animate-pulse rounded bg-gray-200" />
    <div className="h-3 w-24 animate-pulse rounded bg-gray-200" />
  </div>
</div>