Skeleton and Shimmer Loading States Design

Our company is engaged in the development, support and maintenance of sites of any complexity. From simple one-page sites to large-scale cluster systems built on micro services. Experience of developers is confirmed by certificates from vendors.
Development and maintenance of all types of websites:
Informational websites or web applications
Business card websites, landing pages, corporate websites, online catalogs, quizzes, promo websites, blogs, news resources, informational portals, forums, aggregators
E-commerce websites or web applications
Online stores, B2B portals, marketplaces, online exchanges, cashback websites, exchanges, dropshipping platforms, product parsers
Business process management web applications
CRM systems, ERP systems, corporate portals, production management systems, information parsers
Electronic service websites or web applications
Classified ads platforms, online schools, online cinemas, website builders, portals for electronic services, video hosting platforms, thematic portals

These are just some of the technical types of websites we work with, and each of them can have its own specific features and functionality, as well as be customized to meet the specific needs and goals of the client.

Our competencies:
Development stages
Latest works
  • image_web-applications_feedme_466_0.webp
    Development of a web application for FEEDME
    1161
  • image_ecommerce_furnoro_435_0.webp
    Development of an online store for the company FURNORO
    1041
  • image_crm_enviok_479_0.webp
    Development of a web application for Enviok
    822
  • image_crm_chasseurs_493_0.webp
    CRM development for Chasseurs
    847
  • image_website-sbh_0.png
    Website development for SBH Partners
    999
  • image_website-_0.png
    Website development for Red Pear
    451

Web Application Loading State Design (Skeleton/Shimmer)

A spinner is the simplest way to show loading, but far from the best. When users see a spinning circle, they don't understand what exactly is loading or how long to wait. Skeleton screens solve this problem: users see the page structure before data arrives.

Skeleton vs Spinner: When to Use What

Both tools are necessary, but for different situations:

Situation Solution
Loading entire page or large block Skeleton
Waiting for action (form save, submission) Spinner inside button
Background operation without UI blocking Progress bar or none
Loading next portion in infinite scroll Skeleton cards at bottom
Operation confirmation (delete, approve) Spinner + button disabled

Skeleton is appropriate when loading takes more than 300ms and content structure is known in advance.

Skeleton Component Anatomy

A skeleton consists of gray rectangles and circles that repeat the shape of real content:

  • Rectangles of varying widths — for text lines (100%, 80%, 60% width)
  • Squares or border-radius rectangles — for images
  • Circles — for avatars
  • Rectangles of appropriate size — for buttons and badges

Color: neutral gray. In Light Mode — #E5E7EB (gray-200 in Tailwind), in Dark Mode — #374151 (gray-700). Shimmer animation adds a moving gradient overlay: from rgba(255,255,255,0) through rgba(255,255,255,0.4) back to transparent, with animation-duration ~1.5s and linear timing.

Deeper: Designing Shimmer Animation

Shimmer is created through CSS @keyframes + background-size + animation. Example implementation using CSS custom properties:

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.skeleton {
  background: linear-gradient(
    90deg,
    var(--skeleton-base) 25%,
    var(--skeleton-shine) 50%,
    var(--skeleton-base) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite linear;
}

Key design point: all skeleton elements on one screen should be synchronized — one animation moves "left to right" simultaneously across all blocks. This is achieved through a single animation-delay: 0 on all elements or through CSS Custom Properties on the parent container.

In Figma, the skeleton component is built using Variants: State=Loading (gray blocks) and State=Loaded (real content). When passing to developers — it's a single React component with a isLoading: boolean prop.

Skeleton-to-Content Correspondence

Skeleton accuracy is important. If a skeleton shows three lines of text but the actual heading is one line, there's a sharp jump when transitioning — a layout shift. This worsens CLS (Cumulative Layout Shift) and subjective perception of speed.

For each content block, we design a skeleton respecting the height:

  • Product card: photo placeholder with same height as img; three text lines of appropriate height; button
  • Table row: exact number of cells, correct row height
  • Feed post: avatar circle, two headline lines, three text lines

Timeline

Design of skeleton system for typical web application (10–20 components) — 2–4 days: inventory of loaded blocks, development of base skeleton component with animation, creation of variants for all blocks, dark mode adaptation.