components/skeleton

Skeleton

Loading placeholders as text, a card or a list, pulsing or shimmering.

Usageimport { Skeleton } from "./Skeleton";
1import { Skeleton } from "./Skeleton";
2 
3<Skeleton />

Copy the source with the toolbar’s copy button — or open the Code pane to select it by hand — then paste the file into your project. It is self-contained, with no registry metadata and no dependencies (Tailwind classes required).

Props

PropTypeDefault
varianttext | card | listtext
lines1 | 2 | 3 | 4 | 53
animationshimmer | pulseshimmer
widthsm | md | lgmd