Agentic Design System
v3.5.0

Components · Feedback · Skeleton

Back to Skeleton types

Skeleton

Owner: Design System Team · Version: v3.5.0

Use for standing in for content that has not finished loading yet - stacked text lines, an avatar with text, or a card - so the layout does not jump once the real content arrives, and the wait feels shorter than a blank screen or spinner.

Properties

Rows is a property of the same component, not a separate skeleton - change it below to check every layout and state in the Live Preview. Avatar + text always shows a fixed 2 lines regardless of Rows, since it represents a single list-item/comment shape rather than a variable block of text.

Live Preview

All 3 layouts compared side by side, each in both states - Animated plays the shimmer sweep, Reduced motion shows the exact same shapes with no animation, for users who prefer reduced motion.

When to use

Any time content is still being fetched and a shape-matched placeholder would reduce perceived loading time better than a blank area or a generic spinner.

Initial page/data load Infinite scroll list loading Async card or feed content Profile/avatar loading state Dashboard widget loading

Component Guide

Overview

Skeleton stands in for content that hasn't finished loading yet - stacked text lines, an avatar with text, or a card-shaped placeholder - so the layout doesn't jump once real content arrives, and the wait feels shorter than a blank screen or a generic spinner.

When to Use

  • Initial page or data load - showing the eventual layout's shape before content arrives.
  • Infinite scroll or async feed content - placeholders for rows or cards not yet loaded.
  • Profile/avatar loading or dashboard widgets - any content whose eventual shape is known in advance.

When Not to Use

  • A loading state with no predictable content shape - use Spin - Skeleton relies on knowing roughly what will appear.
  • A brief, sub-second load - a flash of skeleton UI can feel more distracting than a near-instant content swap; reserve it for loads long enough to actually help.
  • An operation with a known percentage of completion - use Progress, which communicates real completion, not just "still loading."

Best Practices

  • Match the skeleton's shape closely to the real content's eventual layout, so the transition feels seamless rather than jarring.
  • Use a subtle shimmer or pulse animation to signal "still loading" rather than a static gray block that could be mistaken for an error.
  • Swap it out the moment real content is ready - don't hold it past the actual load time.

Do and Don't

Do

Placeholders shaped like the content that is coming, so nothing jumps when it arrives.

Don't

A single generic bar that looks nothing like the eventual layout gives no hint of what is loading, and the page still lurches when it lands.

Accessibility

  • The containing placeholder carries aria-busy="true" and aria-live="polite" (shown on the demo markup above), not just visual shimmer - silence during load reads as broken to a screen-reader user, who gets no equivalent of seeing shapes animate on screen.
  • Once real content replaces it, the same live region's contents are swapped for the real DOM, so its arrival is announced too, and aria-busy is cleared to false.
  • Purely decorative beyond that announcement - it never receives keyboard focus itself.

Related Components

Spin, Progress, Empty.