Calm motion: animations on this site only fade, with no movement
Skeleton
Placeholder in the shape of what's coming
Gray plates the size of the content that has not arrived, so the layout is already right when it does and nothing jumps. Size each one to the real thing: width/height for a block, lines for a paragraph (the last line stops at 60%), avatar for a face. They breathe (a slow opacity pulse, flat, no shimmer) and hold still under prefers-reduced-motion.
Skeletons are hidden from assistive tech. The region must say that it is loading: aria-busy="true" on the container, and a role="status" with a label if you want it announced (the Page states block does both). For "busy" on something that is already there, use BlockUI. For busy with no shape to promise, use Spinner.
Basic
Usage
ts
import { BlessSkeleton } from "blessing-ui";API
Props
| Name | Type | Default | Description |
|---|---|---|---|
width | string | "100%" | |
height | string | "1em" | |
lines | number | — | render n text lines instead of one block |
avatar | boolean | — | an avatar placeholder: square like BlessAvatar, never leaning |