Components
Skeleton
A placeholder shape for loading states.
Skeleton renders a muted, pulsing block. Use it to reserve space while data is loading.
Installation
pnpm dlx shadcn@latest add https://faber-ui.vercel.app/r/skeleton.jsonUsage
import { Skeleton } from "@/components/ui/skeleton";
export default function Example() {
return <Skeleton className="h-4 w-48" />;
}Examples
Profile card
Single line
API
The Skeleton accepts all props of a native <div> element. Control the size and shape with className.
Last updated on