About
A loading placeholder block that pulses with a diagonal shimmer sweep while content is still loading.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Skeleton to your project and fits it to your theme.
Code
How Skeleton is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { Skeleton } from "@/components/ui/skeleton";
export default function SkeletonDemo() {
return (
<div className="flex w-72 flex-col gap-3">
<Skeleton className="size-12 rounded-sm" />
<div className="space-y-2">
<Skeleton className="h-4 w-3/4" />
<Skeleton className="h-4 w-1/2" />
</div>
<Skeleton className="h-20 w-full" />
</div>
);
}








