Feedback
Skeleton
Displays a synchronized shimmer placeholder for loading content.
idle
Usage
Examples
Loading a project
The project summary keeps its place while content loads.
Text block
Composes multiple line skeletons to simulate paragraph loading.
Circle with metadata
Pairs an avatar or icon placeholder with descriptive metadata lines.
Rectangle card preview
Provides a block placeholder for media, cards, and container surfaces.
Recommendations
| Guidance | Practice |
|---|---|
| Do | Match the expected content's broad shape and preserve layout space while loading. |
Usage boundaries
| Guidance | Boundary |
|---|---|
| Scope | Keep placeholders out of the accessibility reading order. Show an explicit error when loading fails. |
API reference
Public props from @mizen-labs/ui. Use exported prop types for the complete TypeScript contract.
| Prop | Type | Default | Description |
|---|---|---|---|
| | "line" | Visual geometry variant: line for text bars, circle for avatars and icons, or rectangle for cards and media blocks. |
| | true | Whether the skeleton is hidden from the accessibility tree. |
| | — | Optional content rendered inside the skeleton. |