About
A loading placeholder with a solid border and a diagonal-stripe pattern fill, used to mock text, avatars or image blocks while content is loading on monochrome/e-ink style interfaces.
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 SkeletonAvatarWithLinesDemo() {
return (
<div className="flex w-72 items-center gap-4">
<Skeleton variant="round" style={{ height: 48, flexShrink: 0 }} />
<div className="flex flex-1 flex-col gap-2">
<Skeleton style={{ height: 12 }} />
<Skeleton style={{ height: 12, width: "70%" }} />
</div>
</div>
);
}







