Docs
Skeleton

Skeleton

Use to show a placeholder while content is loading.

Installation

npx shadcn-ui add skeleton
npx shadcn-ui add skeleton

Usage

import { Skeleton } from "@/components/ui/skeleton"
import { Skeleton } from "@/components/ui/skeleton"
<Skeleton className="w-[100px] h-[20px] rounded-full" />
<Skeleton className="w-[100px] h-[20px] rounded-full" />