Skeleton
A pulsing block that holds a piece of content's place while it loads, drawn to its size with a className and to its corners with borderRadius.
Usage
Examples
Border radius
borderRadius sets its corners on the kit's one scale to match what it holds the place of: none, xs 4px, sm 6px (the default), base 8px, lg 12px, xl 16px, or full to round it, as an avatar's place takes.
With icon
SkeletonRow holds the place of a list's or a menu's row, a line at the row's height, and icon sets a square before it where the row's icon will be, beside a row without one as it is by default.
API Reference
Skeleton
SkeletonProps · components/Skeleton/Skeleton.types.tsSkeletonRow
SkeletonRowProps · also takes the props of <div>It also takes the props of <div>.