Installation
Examples
Shapes
text, rect, and circle variants.
Card skeleton
Combine shapes to mock a loading card.
List skeleton
Row-based loading list.
API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
| variant | 'text'|'rect'|'circle' | 'rect' | Shape of the placeholder. |
| width | string | number | — | Width of the skeleton. |
| height | string | number | — | Height of the skeleton. |
| animate | boolean | true | Enables the pulse animation. |