Skeleton
Displays animated placeholder shapes while content is loading, giving users immediate visual feedback and making apps feel faster.
588 B
•Updated on August 21, 2026
Installation
Bash
pnpm dlx shadcn@latest add @spaceui/primitives-skeletonUsage
Code
import { Skeleton } from '@/components/ui/skeleton'Code
<Skeleton className="size-10 rounded-full" />API Reference
This is a custom component, not a Base UI wrapper.
Skeleton
A simple div with animated pulse effect for loading states. Apply sizing and shape via className.
Examples
Skeleton only