Base · Feedback
Skeleton
Loading state that mirrors the real layout, so nothing shifts when data arrives, plus a thin top progress bar.
Notes
- Blocks:
.sk(6px radius, canvas mixed with 6% ink, pulsing) sized with.sk-line(11px),.sk-chip(22×96 pill) or explicit width/height; rows.sk-row(table row padding + hair rule); cards.sk-card(ivory card). .load-bar: a 2px bar at the top of the workspace with a 35%accentrun (a state: loading). Show it on navigation, org switch, and any fetch over ~300ms.- Pulsing stops under
prefers-reduced-motion. - Consumer builds a skeleton per screen from these blocks.
- Not used in the Solarus app. The agent's living sign shows while it works, and canvas blocks fill one by one.
Code
/* HTML classes · bundle.css */
.sk
.sk-row
.sk-card
.load-bar