UI.MD

Skeleton

An animated placeholder for loading states.

Installation

$
npx shadcn@latest add https://ui.mattdowney.com/r/skeleton.json

Usage

import { Skeleton } from "@/components/ui/skeleton"

Examples

Default

Placeholder blocks in the shape of what is loading. Size each one with className, and match the real layout: that is what stops the page jumping when the content lands.