shibro
Show the version of “A skeleton holds the shape of what’s coming”

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
  • Region height while loading 120px → 208px on load
  • Region height while loading 208px, before and after

What changes

Bad
A 120px spinner box is swapped for four 52px rows (208px) when the data arrives, so everything below jumps 88px.
Good
Four placeholder rows at their real 52px hold 208px before 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/height attributes or an aspect-ratio. Async content renders into a slot sized for it (a skeleton, SU-157). Banners never push content down after first paint.