Skip to content

Skeleton

Shows a placeholder shape while content loads.

Loading profile
skeleton-basic-demo.tsx

Installation

The CLI adds the files, packages, theme variables, and Tailwind plugin that this component uses. Before you run it, set up your project.

Card

Skeleton is hidden from screen readers, so put a loading message in an output.

Loading project details
skeleton-demo.tsx

Loading state

Keep the same size so the layout does not move. Also install Avatar.

Loading profile
skeleton-loading-demo.tsx