bloxa

Skeleton

FREE

Pulsing placeholders for blocks, avatars and text lines while content loads.

Installation

Terminal
npx @bloxa/cli add skeleton
# or: npx shadcn@latest add @bloxa/skeleton

Examples

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

PropTypeDefaultDescription
shape"rect" | "circle" | "text""rect"Block, avatar or text line.

SkeletonText

PropTypeDefaultDescription
linesnumber3Number of lines.
lastLineWidthstring"60%"Width of the last line.