Skip to content
Hazine

Skeletons and loaders

0 of 5 shipped. Nothing has shipped here yet. The list below is what this family will hold, and how each structure differs.

Planned 5

  • Shimmer Skeleton Block

    A primitive rather than a layout: shape, width and line-count props, deterministic width variation per index (no random values, so server and client match), a gradient sweep gated behind motion-safe, and a wrapper that sets aria-busy and a single hidden Loading label for the whole group.

  • Card Skeleton

    Mirrors card anatomy (media, header, body, footer) with the same paddings and radii as the real card so there is no layout shift when content arrives.

  • Table Skeleton

    Column-aware: keeps the real table element and headers visible, and varies each placeholder cell by column type and alignment instead of repeating identical bars.

  • Skeleton to Content Crossfade

    Behaviour rather than a placeholder shape: show-after delay so fast loads never flash a skeleton, minimum visible duration so it never flickers, reserved dimensions against layout shift, and an instant swap instead of a fade under reduced motion.

  • Spinner with Label

    An activity indicator rather than a content placeholder: three layout modes, a show-after delay, and under reduced motion the rotation is replaced by a slow opacity pulse so activity is still visible.