Skeleton

A shimmering block that holds content's place while it loads.

Installation

Examples

Default

It has no size of its own; a className such as h-4 w-40 shapes it. Screen readers skip it.

demo.tsx

In a card

size-8 rounded-full holds an avatar's place.

card.tsx

Anatomy

Each part's data-slot, which a theme styles, is beside it.