Components
Documentation contentSkeleton
Use skeleton as a placeholder while content loads. Set width and height to approximate the content, then replace it through a model-bound if. The engine animates its opacity; reduced-motion settings make it static. Use spinner for an indeterminate wait or progress for a measurable fraction.
skeleton

Markup
Programmatic construction (Zig)
In a Zig view, the canvas.Ui builder constructs the same tree programmatically. Skeleton has no sugar method; use ui.el with the element kind.
Attributes
| Attribute | Description |
|---|---|
width | Definite width (plain number): the element is exactly this wide; content neither shrinks nor overflows it. On resizable it is the initial width. |
height | Definite height (plain number): the element is exactly this tall; content neither shrinks nor overflows it. |
