← All tools

CSS Skeleton Loader Generator

Build shimmering placeholder layouts with control over shape, colors, timing and corners.

css-skeleton-loader-generatorLOCAL WORKSPACE

Enabling local controls…

Tool settings

Settings stay on this page. Reloading restores the defaults.

Feature reference checked 2026-11-21 · ZeroServer

Live preview and export

CSS

.skeleton-layout {
  display: grid;
  gap: 0.5rem;
  width: min(100%, 18rem);
}

.skeleton-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
}

.skeleton-row > div + div {
  display: grid;
  gap: 0.5rem;
}

.skeleton {
  background: #e2e8f0;
  border-radius: 6px;
}

.skeleton-hero {
  height: 7rem;
}

.skeleton-line {
  height: 0.9rem;
}

.skeleton-square, .skeleton-avatar {
  height: 3rem;
}

.skeleton-avatar {
  border-radius: 50%;
}

@media (prefers-reduced-motion: no-preference) {
  .skeleton {
    background-image: linear-gradient(90deg, #e2e8f0 25%, #f8fafc 50%, #e2e8f0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
  }
  
  @keyframes skeleton-shimmer {
    from { background-position: 100% 0; }
    to { background-position: -100% 0; }
  }
}

HTML

<div class="skeleton-layout" aria-hidden="true">
  <div class="skeleton skeleton-hero" style="width:100%"></div>
  <div class="skeleton skeleton-line" style="width:70%"></div>
  <div class="skeleton skeleton-line" style="width:90%"></div>
  <div class="skeleton skeleton-line" style="width:60%"></div>
</div>

How to use this tool

Choose a preset or edit the controls. Compare the live preview, then copy or download the styles and any available markup.

When not to use it

Verify contrast, placement and browser behavior in the component that will use the exported styles.