States · SU-157 · SU-192
A skeleton holds the shape of what’s coming
Flip between the version shibroUI flags and the one it ships. The marks and callouts show what changes.
-
Content below
shifts 88px
-
Shimmer
off for reduced motion
Recent invoices
Last 30 days
Then 4 rows × 52px arrive and push this down 88px
Recent invoices
Last 30 days
-
Region height while loading
120px → 208px on load
-
Region height while loading
208px, before and after
What changes
- Bad
- A
120pxspinner box is swapped for four52pxrows (208px) when the data arrives, so everything below jumps88px. - Good
- Four placeholder rows at their real
52pxhold208pxbefore and after, and nothing moves; the shimmer stops for reduced motion.
The rules
-
SU-157
A skeleton holds the shape of what's coming. Skeleton rows match the final layout in size and rhythm, so nothing shifts when data arrives (CLS, SU-192). Use quiet, neutral shapes and an optional shimmer of at least 1.5s per cycle, turned off under reduced motion. Mark the region
aria-busy="true". Skip skeletons for loads under about 1s and for tiny elements (buttons, inputs, toasts). -
SU-192
Reserve space; nothing jumps. Images, video and embeds carry
width/heightattributes or anaspect-ratio. Async content renders into a slot sized for it (a skeleton, SU-157). Banners never push content down after first paint.