Skeleton
FREEPulsing placeholders for blocks, avatars and text lines while content loads.
Installation
Terminal
npx @bloxa/cli add skeleton
# or: npx shadcn@latest add @bloxa/skeletonExamples
Loading card
Turn the switch off to swap in the real content.
API reference
Every component also accepts the props of the element it renders.
Skeleton
| Prop | Type | Default | Description |
|---|---|---|---|
| shape | "rect" | "circle" | "text" | "rect" | Block, avatar or text line. |
SkeletonText
| Prop | Type | Default | Description |
|---|---|---|---|
| lines | number | 3 | Number of lines. |
| lastLineWidth | string | "60%" | Width of the last line. |