You click a link, expecting a whole new page to load. Instead? A blank white screen. You wait a few seconds. A few more, and still nothing. Now you're questioning everything: Is this website down? Or is your internet just acting up?
Ever had that moment?
This has been a common experience for many users for a long time. Luckily, web designers and developers found a clever way to fix it with a user interface (UI) technique called "skeleton loading."
In this article, we will explore how it differs from other loading indicators, and why it works from a user’s perception point of view. We’ll also discuss design best practices, common UI patterns, how to implement them and provide real-life examples.
What Is Skeleton Loading?
Skeleton loading screens use geometric gray blocks, known as skeleton screens, to mimic actual interface elements such as headings, paragraphs, images, and buttons. Each shape matches the size, position, and proportions of the actual elements that will appear once the content has fully loaded. (Image Source)
To put it simply, a skeleton loading screen is a simple UI pattern and animation technique that displays temporary, low-fidelity placeholders on the screen while the actual content or data is being fetched.
These geometric grey block previews, known as skeleton screens, mimic actual interface elements such as headings, paragraphs, images, and buttons.
Each shape matches the size, position, and even the proportions of the real elements so that when the actual content arrives, individual web elements are replaced with real content with subtle animations and transitions.
Loading States and Progressive Rendering
Loading state is the time between when a user requests something and when the content they want becomes available. While the actual loading speed matters, the right loading indicator can improve performance by setting realistic expectations and reducing the time people think they have to wait.
Loading skeleton screens are well suited to progressive rendering, which is the practice of displaying parts of a page as soon as they are available rather than waiting for everything to finish loading.
Skeleton Screens vs. Other Loading Indicators
The table above compares skeleton screens with other loading indicators, such as spinners, progress bars, and Optimistic UI, based on their primary use cases, progress visibility, loading scope, perceived speed, and error risk. (Image Source)
Let’s look closely at skeleton screens, compare them with other loading indicators, and see how each pattern can influence a user’s perception of loading time and overall experience.
1. Skeleton screens
Skeleton screens work best when loading content with a predictable layout and users know what they are likely to see on the screen. These can be product card grids, headers, or article blocks that you see often on websites. They often have a subtle shimmer effect or pulse animation to indicate that something is going on.
While they do not show actual loading progress or estimated completion time, they can provide users with feedback through progressive loading that content is being prepared.
Best use cases: Blogs, news sites, and e-commerce stores.
2. Spinners
A loading spinner is one of the most common options for communicating a blocking loading state.
It's usually used when submitting forms, saving changes, processing data, or handling payment transactions. Typically, it features a simple animated circular motion to indicate that an operation is currently in progress.
Spinners are technically effective for initiating short blocking operations where you can't predict the page structure or duration. They don't convey how much work has been completed or how much time it will take, so it's always best to set up a timeout and an error message when things go wrong and the page doesn't load as anticipated.
Best use cases: Form submissions, user authentication, payment transactions, or any small background operations.
3. Progress bars
Unlike spinners and loading skeleton screens, progress bars can provide a more honest and clearer loading indicator by measuring how much of a task has been completed.
Progress bars are commonly used for file uploads, multi-step forms, and other operation-level processes where users need visibility into the progress of a task. They often display percentages, uploaded bytes, or completed steps to communicate how much progress has been made.
Best use cases: File uploading and downloading, multi-step forms, software installation, or processing large data.
4. Optimistic UI
You tap the heart icon on an Instagram post, and instantly, it turns red.
No waiting, no loading spinner or skeleton screen.
That's Optimistic UI in action!
Instead of initiating a wait or showing progress, Optimistic UI skips that task entirely by assuming success. This means that instead of waiting for the server to confirm an action, they immediately reflect the expected result.
Best use cases: Liking a social media post, sending messages, adding items to a cart, and updating website settings.
The table above provides a simple yet practical guide to selecting the most appropriate loading pattern for different situations and use cases, based on the examples discussed above. (Image Source)
How Skeleton Loading Affects Perceived Performance
In 2025, a study by Costa and Belém compared six loading techniques in web applications, including blank pages, skeleton screens, spinners, progress bars, and two combinations.
Skeleton screens received the best perceived-speed ratings, with 48% of participants classifying the wait as fast (1–3 seconds), while blank pages received the poorest ratings.
These findings show that skeleton screens can make loading feel faster from the user's perspective, and highlights the importance of thoughtful UI/UX design in creating better user experiences.
For businesses looking to build high-performing digital products, working with leading UI/UX design agencies can make a difference. They understand how to apply user-centered design principles, including effective skeleton screens, to create smoother, more engaging, and performance-focused digital experiences.
Reducing uncertainty and establishing visual context
Skeleton loaders provide instant visual feedback, letting users know the interface is loading and that the real content is on the way.
This gives users less reason to wonder whether the page is broken, as they can already see visual context representing the content that's about to appear.
Perceived speed vs. actual load time and core web vitals
Actual load times refer to how long it takes for a resource to finish downloading, responding, or displaying its content on the screen, byte by byte.
On the other hand, Core Web Vitals measure different aspects of real-world user experience, focusing on loading performance, responsiveness, and visual stability.
In contrast, perceived speed refers to how fast the experience feels and doesn't necessarily affect actual loading times or Core Web Vitals.
While a skeleton loading screen might make it feel like you've waited a shorter time because you're being occupied by loading grey shapes on your screen, it doesn't change the fact that it does not reduce the time it takes for data to get transferred or for the browser to render the final content behind the scenes.
So, what does a skeleton screen actually change then? It's the user's perception of speed!
Types of Skeleton Loaders
Skeleton screens come in three main types: Static, Animated, and Progressive. Each type has its own advantages depending on the content type, loading time, and perceived performance. (image Source)
Skeleton screens come in three main types: Static, Animated, and Progressive. Each type offers distinct advantages depending on the loading duration, content format, and perceived performance.
1. Static Skeleton loaders
From the word "static" itself, static skeleton loaders come with stationary, plain grayish geometric blocks that look like low-fidelity wireframes, with no motion (that means no pulse or shimmer effect).
These are among the most commonly used skeleton loading screen types on modern websites. Each placeholder mimics the size and position of the website element it represents, reserving space for the actual content and preventing layout shift when the content loads.
2. Animated Skeleton loaders
Animated skeleton loaders are the opposite of the static version.
These skeleton screens add motion to show that something is processing or that website activity is ongoing. They often combine placeholders with subtle, repeating animations so users know that the page is still active and responding.
Three common styles of animated skeleton loaders depend on how the highlight moves and how noticeable the animation is: pulse, wave, and shimmer.
3. Progressive Skeleton loading
This loading pattern displays the page structure first, then swaps individual placeholder blocks with real content as each piece of data becomes available, instead of waiting for the entire page to load.
Frame-First Rendering and Gradual Content Replacement
Progressive Skeleton Loading can also use a frame-first rendering approach, which displays elements that don't depend on incoming data, such as the header, navigation, and layout, before displaying the actual content. These elements can appear instantly while other parts of the page are still blank until the server delivers the required data.
Keep in mind that progressive loading screens follow a gradual content replacement approach, which means each individual block loads at its own pace.
When to Use Skeleton Loading
Below are some of the best use cases for skeleton screens:
Feeds and Product Grids – The repetitive and predictable structure of these elements makes them ideal candidates for skeleton screens.
Cards – Due to its consistent dimensions and predefined spaces for product images, titles, descriptions, and other information make it easier to create accurate skeleton UI.
Dashboards – With their inherent structure of charts, cards, tables and status tiles, these are great use cases for skeleton screens.
Search Results – Typically follow a consistent and templated format, with each result containing elements such as a title, URL, and snippet.
Content-Heavy Pages – Blog posts, profiles, and other informational pages often contain headings, photos, paragraphs, and other structured content.
When Not to Use Skeleton Loading
You should avoid skeleton loaders in the following scenarios:
Instant Actions – This covers toggles, checkboxes and like/heart interactions where users expect an immediate response, usually in a matter of milliseconds.
Indeterminate Waits – When the completion time is unknown and long waits are expected (especially those lasting more than 10 seconds).
Trackable Progress – For operations that have trackable progress, such as file uploads, downloads or multi-step processes, progress bars are a better solution than skeleton screens.
Minor UI Updates – These include toggling settings, updating single fields, or refreshing a single value, which are disruptive in nature.
Destructive Operations – Skeleton screens are not suited for irreversible operations or actions, such as permanently deleting files, canceling accounts, or processing payments.
Unpredictable Layouts – Dynamic widgets, empty search results, and other complicated interfaces.
Skeleton Loading Design Best Practices
Effective use of skeleton screens should be accurate, stable, and accessible. Here are skeleton loading screen design principles to keep in mind to reduce layout shifts and improve the overall loading experience.
1. Match the final layout
When you're designing a skeleton loader, make sure that the placeholder blocks are similar in layout, size, and spacing to the actual content. Headline, avatar, paragraph, and every skeleton screen UI should give users a clear preview of where the real information will appear.
The result? A more stable layout with fewer unexpected shifts.
2. Show structure, not every detail
Your skeleton loading screen isn't supposed to be a pixel-perfect illustration of every piece of content. Instead, it should only display a low-fidelity wireframe preview of your final content.
Do not include unnecessary details, including small icons, labels, badges, and decorative elements. These can make the skeleton screen look cluttered, take more time to build and maintain, and distract users from the content they're waiting to see.
3. Reveal content progressively
Imagine trying to read a page while the content keeps popping up in strange places. How crappy would that make you feel?
Ensure that each content is consistent and predictable so that users may naturally navigate the page without waiting for everything to load at once.
4. Avoid misleading placeholders
The number of placeholder elements in the skeleton screens should be realistic with the contents that users are supposed to see.
Otherwise, you could create false expectations, making the loading experience feel deceptive, and users will lose trust in your website.
5. Make Skeleton animations accessible
Always use subtle motion, including gentle pulses, soft shimmers, or slow waves, with low-contrast colors and safe animation speeds (around 1.5 to 2 seconds per cycle) that work for both light and dark themes.
Use static placeholders instead of hyperactive motion and remove unnecessary animations. Don’t use flashy animations and respect the preferred-reduced-motion setting.
More importantly, consider users who rely on assistive technologies by providing accessible loading messages so users with disabilities know what's happening behind the scenes.
Skeleton Loaders for Common UI Patterns
Common skeleton screen UI patterns include cards, lists, articles, dashboards, tables, and images. These are commonly found on modern websites and are widely used to provide a better loading experience while content is being fetched. (Image Source)
Below are practical examples of skeleton loaders for common UI patterns, along with their essential placeholder elements and layout requirements.
1. Cards
Cards are among the most common UI patterns, as they are widely used in blogs, product grids, and search results.
Essential placeholder elements:
- Media or image (rectangular or square blocks)
- Title (medium-width horizontal line blocks)
- Description (two or three shorter line blocks)
- Button (rounded rectangular blocks)
Layout requirements:
- Maintain the same grid dimensions, padding, and vertical spacing as the actual card layout.
- Use aspect ratios for media and image placeholders instead of fixed heights.
- Apply rounded corners to placeholders to match the appearance of the actual content.
2. Lists
Lists are often seen in feeds, comment threads, notification panels, and settings screens.
Essential placeholder elements:
- Media or image (circular or rounded square blocks)
- Primary text (medium-width horizontal line blocks)
- Secondary text (two or three shorter line blocks)
- Icon/Badge/Action (trailing horizontal line block)
Layout requirements:
- Every row must maintain a consistent height across all items, including dividers and padding.
- Use a horizontal flex layout with a fixed-size leading element.
- Maintain adequate spacing between the media and text elements to ensure clean alignment.
3. Articles
Skeleton screens use the article UI pattern for news articles, blog posts, documentation pages, and other text-heavy content.
Essential placeholder elements:
- Hero / featured image (large square or rectangular blocks)
- Headline (large horizontal line blocks)
- Subheading (one or two shorter line blocks)
- Avatar (circular or square blocks)
- Author and meta text (short horizontal line blocks)
- Paragraph (two or three shorter line blocks)
- Structured lists (short horizontal blocks with bullets or numbers)
- Inline image (square or rectangular blocks)
Layout requirements:
- Each content area must have a confined width, like the article column.
- Maintain consistent left indentation and bullet alignment in lists.
- Use equal vertical spacing between paragraphs, headings, and lists.
4. Dashboards
Dashboards utilize skeleton screens to showcase previews of KPI tiles, chart containers, widgets, and tables, which are often populated through API calls, with data for each widget loading one at a time.
Essential placeholder elements:
- KPI tiles (small, large, and delta bar blocks)
- Chart panels (large rectangular or chart-shaped blocks)
- Statistic cards (number and label blocks)
- Graph legends (small circles and horizontal line blocks)
- Recent activity (list or table blocks)
Layout requirements:
- Use responsive CSS grids for each card or panel.
- Each chart should have a fixed-height container (or aspect ratio) for chart libraries.
- Maintain consistent padding and border radius across all tiles.
5. Tables
Table skeleton screens are commonly used in data grids, admin panels, transaction histories, and inventory lists.
Essential placeholder elements:
- Header rows (column title blocks)
- Body cells (single bar blocks)
- Type-specific shapes (optional leading checkbox or avatar)
- Pagination / footer bar (static text blocks)
Layout requirements:
- Maintain fixed column widths between the header and body.
- Apply consistent cell padding and borders, with fixed or uniform row heights.
- Reflect the expected number of visible rows.
6. Images
Images are the simplest skeleton UI pattern, mostly seen on photo galleries, banners, carousels, and media-heavy websites.
Essential placeholder elements:
- Image container (sized box matching the image's actual aspect ratio)
- Thumbnail (small square or rectangular blocks)
- Optional caption or overlay text (one to three short horizontal line blocks)
Layout requirements:
- Always preserve the correct aspect ratio of images.
- Apply the shimmer animation to the image wrapper rather than the image itself.
- Handle loading errors by stopping the animation and showing a static fallback message.
- Maintain consistent gaps and spacing in grid, gallery, and masonry layouts.
Skeleton Loading Implementation
Let's look at some practical implementations of skeleton screens:
1. Using reusable components and responsive sizing
One of the most maintainable approaches to implementing a skeleton loader is to use reusable components rather than using individually styled placeholders scattered throughout a website.
With reusable components, you can define each layout's styles, including colors, shapes, and animations, instead of having to deal with multiple files.
You can also use responsive sizing features, including CSS Grid, Flexbox and fluid width and max-width values, to adapt to available screen space rather than relying entirely on fixed dimensions.
Take a look at the React code snippet below. The reusable component approach uses predefined skeleton components and CSS classes to maintain consistent sizing and layouts, making placeholders easier to match with the actual content.
<h1>Inline style-based Skeleton component</h1>
<p><code>export function Skeleton({ width = "100%", height = "1em", radius = 4, className = "", style }) {
return (
<span
className={</code>skeleton ${className}`}
aria-hidden="true"
style={{ width, height, borderRadius: radius, ...style }}
/>
);
}</p>
<p>export function SkeletonText({ lines = 3, lastLineWidth = "60%" }) {
return (
<div className="skeleton-text">
{Array.from({ length: lines }, (_, i) => (
<Skeleton key={i} width={i === lines - 1 ? lastLineWidth : "100%"} />
))}
</div>
);
}
export function SkeletonAvatar({ size = 48 }) {
return <Skeleton width={size} height={size} radius="50%" />;</p>
<h1>}</h1>
<h1>Reusable Skeleton component</h1>
<p>export function CardSkeleton() {
return (
<div className="card">
<Skeleton className="card__media" />
<div className="card__body">
<SkeletonText lines={2} />
</div>
</div>
);
}</p>
<h1>Stylesheet</h1>
<p>.card { display: grid; gap: 12px; }
.card__media { width: 100%; aspect-ratio: 16 / 9; }
.skeleton-text { display: grid; gap: 0.6em; }</p>
<p>@container (min-width: 600px) {
.card { grid-template-columns: 240px 1fr; }
}`</p>
Server or client? Where you render decides how your skeleton screens behave.
With server-side rendering, the server fetches data while rendering the page and generates the initial HTML before sending it to the browser. In this case, the skeleton screen can be rendered on the server as part of the initial HTML. However, it may be replaced so quickly with actual content that users barely notice it.
On the other hand, with client-side rendering, the skeleton screen can appear almost immediately once the browser downloads and executes the necessary JavaScript to build the interface.
Depending on the application and the user's device and network conditions, this may take a few hundred milliseconds or longer.
2. CSS performance and semantic handling
Skeleton screens rely on shimmer or pulsing animations.
A better approach to improve your CSS performance is to animate the transform property on a pseudo-element while honoring prefers-reduced-motion. Browsers can often handle these animations on the compositor.
For semantics, use the right HTML elements and accessibility attributes to communicate the loading state.
The React code snippet below demonstrates how semantic HTML and ARIA attributes communicate loading states accessibly. It uses aria-busy, visually hidden status text, and semantic elements to provide clear loading feedback for assistive technologies.
<h1>Semantic HTML and ARIA for Skeleton loader</h1>
<p>`function Feed({ isLoading, items }) {
return (
<section
aria-labelledby="feed-title"
aria-busy={isLoading}
>
<h2 id="feed-title">Latest posts</h2></p>
<pre><code> <p role="status" className="visually-hidden">
{isLoading
? "Loading latest posts..."
: `${items.length} posts loaded.`}
</p>
{isLoading ? (
<FeedSkeleton />
) : (
<PostList items={items} />
)}
</section>
</code></pre>
<p>);
}</p>
<p>function FeedSkeleton() {
return (
<div aria-hidden="true">
<div className="skeleton-post">
<span className="skeleton-avatar" />
<span className="skeleton-title" />
<span className="skeleton-text" />
</div>
<div className="skeleton-post">
<span className="skeleton-avatar" />
<span className="skeleton-title" />
<span className="skeleton-text" />
</div>
</div>
);
}</p>
<p>function PostList({ items }) {
return (
<ul>
{items.map((item) => (
<li key={item.id}>
<article>
<h3>{item.title}</h3>
<p>{item.content}</p>
{item.image && (
<img src={item.image} alt={item.imageAlt || ""} />
)}
</article>
</li>
))}
</ul>
);
}
.visually-hidden {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip-path: inset(50%);
white-space: nowrap;
border: 0;
}`</p>
3. Skeleton loader accessibility
Accessible skeleton screens can inform screen reader users that content is loading without flooding them with unnecessary announcements through the following methods:
- Using one polite status message such as "Loading post" or "Updating profile" to announce that content is loading.
- Managing busy states using aria-busy="true" while loading and aria-busy="false" when complete, with role="status" for important status announcements.
- Removing decorative placeholders from the accessibility tree using aria-hidden="true".
4. Preventing layout shifts (CLS)
Cumulative Layout Shift (CLS) measures unexpected movements of elements on a web page that occur without user interaction.
In essence, a skeleton loader can either reduce or increase the CLS score depending on how much space is reserved.
To prevent this, consider the following:
- Set fixed dimensions for loading containers so placeholders occupy the same space as the content they will eventually replace.
- Give each image explicit width and height attributes so the browser reserves the correct aspect ratio before the image loads.
- Avoid inserting or removing DOM nodes in ways that unexpectedly alter the height or position of parent containers after the skeleton loader appears.
Handling Errors, Empty States, and Timeouts
Skeleton loader screens can fail anytime. When this happens, users may be left staring at a blank page, or the shimmer effect may continue running indefinitely. To prevent this, skeleton screens should transition to the appropriate error, empty-result, offline, or timeout states. (Image Source)
Just like any other technology, skeleton loader screens can fail any moment. When they do, they may leave users staring at a blank page, or the shimmer effect may run indefinitely.
To prevent this, skeleton screens should transition into appropriate error, empty-result, offline, or timeout states.
Handling error states
When a content request fails due to network failures or server errors, the skeleton UI should be replaced with an error state that occupies the same container.
In this case, an error status message such as "Something went wrong while loading this content" should appear on the screen, along with a short technical code or plain-language explanation, such as "The server returned a 500 Internal Server Error," to help users understand what went wrong.
Handling empty-result states
Not all failed content previews are due to network or server problems. Sometimes a request returns no data. There is nothing to show on the page. This could be a search with no matches or a feed with no new posts.
In this case, skeleton screens should transition to an empty-result state with a message stating that no results were discovered, e.g., "No results found" or "Nothing here yet". Adding supporting text that provides context, such as "Try adjusting your filters" or "Check back later for new content," can also help users understand what to do next.
Handling offline states
An offline state happens when the user's device loses internet connectivity, preventing the website from retrieving new content.
Adding an offline message to replace the skeleton loader, such as "You are offline" or "Check your internet connection and try again," can inform users why the content isn't loading. You can also monitor network status changes, provide a "Retry" button, and make the offline message visible until the connection is restored.
Handling timeout states
If a skeleton screen takes more than 10 seconds to load and no content is displayed, it may no longer be perceived as reassuring and instead may indicate a faulty web page.
When this happens, show a message timeout related message like "Still loading. This is taking longer than it should". You can also give supporting details using phrases such as “The request timed out. You can try again or wait until later.
Real-World Skeleton Loading Examples
Two great real-world examples to draw inspiration from for your next project are YouTube's video cards and eBay's product grids, which illustrate several skeleton loading best practices. Let's take a closer look at both:
YouTube-style Skeleton loading example
The YouTube-style video card skeleton is one of the most popular loading screen patterns used on modern websites. Each card features a gray 16:9 rectangular placeholder for the thumbnail, a circular channel avatar, and one or two horizontal lines representing the video title and brief description. The fade transition can also make the change feel smoother. (Image Source)
The YouTube-style video card skeleton is one of the most replicable UI patterns on the web.
On load, each card displays a gray 16:9 rectangular placeholder for the thumbnail, a circular channel avatar, and one or two horizontal lines representing the video title and description. These placeholders match the layout and dimensions of the actual video content.
Its shimmer animation uses a subtle, repeating gradient or opacity pulse to signal activity without competing for the user's attention.
Once the content has loaded, the skeleton placeholders are replaced with the actual video thumbnails, channel information, and text. A brief fade transition can also make this change feel smoother.
eBay Skeleton loading example
eBay's loading screen is built around lightweight structural placeholders that reflect the needs of image-heavy e-commerce browsing. Product images may vary in size, but their placeholders help maintain consistent card heights and grid alignment. Content can also appear progressively through in-order streaming, with a subtle fade effect to make the transition feel smoother. (Image Source)
The official eBay Playbook Design System is very elaborate and relies heavily on skeleton loaders to build structural, lightweight page previews that reflect the constraints of image-heavy e-commerce browsing.
Each product can have different image sizes, but each image placeholder helps maintain consistent card heights and grid alignment so the page does not shift as images load. Product titles are represented by two or three lines, while prices and secondary details use shorter, bolder blocks.
eBay's skeleton loaders can appear progressively through in-order streaming, with a subtle fade effect as individual elements become available.
Conclusion
Skeleton loading can improve perceived performance without changing actual load time or Core Web Vitals metrics.
When working with skeleton screens, consider three essentials. These are predictable structure, accessible design, and timely replacement with real content or appropriate error and empty states.
Keeping these points in mind will help you create more effective skeleton screens that make waiting feel shorter and more intentional.
