Feedback
Skeleton
Shimmer placeholder for content loading states.
Content Placeholder
Skeletons provide visual feedback while content is being fetched. They should roughly match the shape of the content they replace.
Common Patterns
Combine different skeleton shapes to build complex interface placeholders.
Properties
| Prop | Type | Default | Description |
|---|---|---|---|
width | string | number | — | Horizontal width in pixels or CSS units |
height | string | number | — | Vertical dimension of the chart area in pixels |
circle | boolean | — | Fully rounds to circle |
radius | 'none' | 'sm' | 'md' | 'lg' | 'full' | — | Border radius shorthand |
animate | boolean | — | Disable shimmer animation |
lines | number | — | Number of repeated rows — useful for paragraph skeletons |
lineGap | number | string | — | Gap between repeated lines |