Skeleton
Use to show a placeholder while content is loading. Size and shape come from your className.
Basic
Compose circles and bars to hint at loading content.
Installation
CLI
Composition
structure
Usage
skeleton.tsx
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| className | string | — | Set height, width, and radius (e.g. `h-4 w-full rounded-full`). |
| …div props | React.ComponentProps<"div"> | — | Native attributes pass through to the element. |