Module skeleton
Expand description
Skeleton: the shape of content that is still loading.
A skeleton takes the geometry of what will replace it, from the same metrics: a list row’s line boxes, a paragraph’s lines, a media card’s art and text. When the content arrives nothing moves. Its tone is a derived step of the ground that registers on every material, including the high-contrast one where a plain lift collapses. It does not shimmer: nothing animates at idle.
SkeletonFace paints the same shapes for immediate-mode callers.
Structs§
- Skeleton
- A retained skeleton. See the module docs.
- Skeleton
Face - Immediate-mode skeleton.
- Skeleton
Props - The shape of content still on its way, drawn where it will stand and at its size, so nothing moves when it arrives. It never shimmers, and it says “Loading” to assistive technology.
Enums§
- Skeleton
Form - What kind of content a skeleton stands in for.
- Skeleton
Shape - What a skeleton stands in for: the geometry of the content that will replace it, the box a read on its way reserves.
Functions§
- skeleton_
tone - The skeleton tone on
ground: a derived wash that registers even on a near-black ground.