What Is a Loading Skeleton Generator?
A loading skeleton generator creates the CSS and HTML for placeholder UIs that display while content loads. These gray, animated blocks mimic the shape of text, images, and interface elements — giving users immediate visual feedback instead of a blank page or generic spinner.
Skeleton screens are a common pattern in feeds, dashboards and product grids. This tool gives you six ready-made layouts, four animation styles and your own colours, and exports the HTML and CSS for exactly what the preview shows.
How to Use This Tool
- Choose a layout template — Pick card, list, profile, table, article or comment. Each is a fixed structure; the controls below change its details.
- Adjust the skeleton elements — Set the number of text rows (card and article), the corner radius, and whether the avatar, image and action buttons appear. Block sizes within a layout are fixed; adjust them in your own CSS after exporting.
- Configure the animation — Choose shimmer, pulse, wave or none, set the cycle time, and pick the base and highlight colours. The defaults are dark blue-greys for dark interfaces; the light/dark switch changes only the preview card behind the blocks.
- Export the code — Copy the HTML and the CSS. The HTML is generated from the live preview, so it matches the layout and toggles you chose; it is marked role="status" and aria-busy="true" for screen readers, and the CSS switches the animation off for people who set reduced motion. It is plain HTML and CSS with no JavaScript.
Worked example: what each animation costs the browser
On October 12, 2026 we copied the tool's exported HTML and CSS for the default card in each animation style, placed six cards on a page in Chromium 141 and read the DevTools Performance metrics over three seconds of animation.
| Animation | Property animated | Style recalculations in 3 s | Main-thread task time in 3 s |
|---|---|---|---|
| Shimmer (default) | background-position | 180 | 75 ms |
| Pulse | opacity | 0 | 2 ms |
| Wave | transform on ::after | 0 | 2 ms |
- Shimmer runs on the main thread; Pulse and Wave do not. Animating
background-positionmakes the browser recalculate styles and repaint every frame (60 times a second here), competing with the JavaScript that is loading your real content.opacityandtransformanimate on the compositor, so the main thread stayed idle. - Prefer Wave for a shimmer look. It produces a similar moving highlight (fainter by default) with a transformed overlay and cost about 2 ms over three seconds instead of 75 ms. On a phone with a slower CPU the gap matters more.
- Reduced motion is handled. Every export includes a
prefers-reduced-motion: reduceblock that stops the animation for people who ask their system for less motion. - Remove it when content arrives. The exported markup carries
aria-busy="true"; swap the skeleton for the content (or setaria-busy="false") so screen readers announce the loaded content.
Sources
Checked on .
Frequently Asked Questions
📖 Learn More
Related Article CSS UI Components Guide → Related Article CSS Loaders, Filters & Glow Effects →Built by Derek Giordano · Part of Ultimate Design Tools