Skeleton
Grey shapes that stand in for content while it loads, with the same layout.
01Anatomy
5 parts. Select a number or a name to see what each part does.
01 · Container
The same box as the real component, same size and position.
- Required
- Yes
- Recommended
- When the content arrives nothing should move: that’s the whole point.
02 · Media block
A rectangle where the image will be, with its real ratio.
- Required
- No
03 · Avatar shape
A circle where a photo or an icon will be.
- Required
- No
04 · Text line
A bar per line of text, as tall as the text. The last one shorter, like a real paragraph.
- Required
- Yes
05 · Shimmer
A light that sweeps across, to say something is happening.
- Required
- No
- When
- Off with reduced motion: a static or slowly pulsing shape is enough.
Example spacing, measured on this drawing (16 px = 1 em). A common implementation, not a rule: values change from system to system. W and H are width and height, as in Figma: Hug follows the content, Fill takes the space of the parent.
Spacing is measured on the normal view: switch back to Normal to show it.
02Structure
- Card / Loadingvariant of the Card componentsame auto layout
- Mediarectanglefillsame ratio
- Headerauto layouthorizontalgap 12
- Avatarellipse36
- LinerectangleH 12radius 4W 60%
- LinerectangleH 12fill
- LinerectangleH 12W 55%
| Property | Type | Values |
|---|---|---|
| State | Variant | LoadingLoaded |
| Shape | Variant | CardListText |
Make Loading a variant of the real component, not a separate one: it keeps the same auto layout, so sizes always match.
03Variants
No interaction states: a skeleton isn’t clickable. Show it only after about 300 ms, so fast loads don’t flash.
There is no single correct anatomy: names, variants and properties differ from one design system to another. These are common structural models distilled from established design systems and accessibility guidance.
Proven methods for designing interfaces with AI. Every two weeks, in Italian.
Subscribe