Skeleton
stableA placeholder preview of content before the data loads.
Basic usage
Examples
Card placeholder
Compose Skeleton into a card layout while data is loading.
Page loading skeleton
Shape Skeleton with Tailwind utilities to match the eventual content.
Features
- Pulse animation.
- Compose any shape with utility classes.
Installation
bash
pnpm dlx structyl add skeletonAPI Reference
Skeleton
A pulse-animated placeholder. Shape it with classes.
| Prop | Type | Default |
|---|---|---|
| className | stringAdditional Tailwind classes, merged with the component defaults. | — |