FEEDBACK
Skeleton
Shimmering placeholder block to keep layout stable while async content loads. Mark up the skeleton with the same dimensions as the eventual content to avoid layout shift on swap-in.
Import
Basic shapes
Composite — avatar + lines
Props
Skeleton props
| Prop | Type | Default | Description |
|---|---|---|---|
| className | string | — | Required: shape the skeleton with width / height / radius utilities. The base Skeleton ships only the shimmer animation and muted background. |
Accessibility
- Skeleton sets
aria-hidden="true"— it is purely visual and skipped by screen readers. - When the content arrives, swap the skeleton out atomically. Long-running loads should surface progress via
role="status"(use Spinner or a hidden status text) so the change is announced.