Victor Mesquita

Skeleton Group

Component

About

A set of composable skeleton placeholders (lines, circles, blocks, rows, stacks, cards) for building loading states that match the final page layout without causing layout shift.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Skeleton Group to your project and fits it to your theme.

Code

How Skeleton Group is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import SkeletonGroup, {
  SkeletonGroupRow,
  SkeletonGroupCircle,
  SkeletonGroupStack,
  SkeletonGroupLine,
  SkeletonGroupCard,
} from "@/components/ui/skeleton-group";

export default function SkeletonGroupDemo() {
  return (
    <div className="w-full max-w-sm">
      <SkeletonGroupCard>
        <SkeletonGroup label="Loading messages…">
          {Array.from({ length: 3 }).map((_, i) => (
            <SkeletonGroupRow key={i}>
              <SkeletonGroupCircle size={36} />
              <SkeletonGroupStack>
                <SkeletonGroupLine width="60%" />
                <SkeletonGroupLine width="90%" />
              </SkeletonGroupStack>
            </SkeletonGroupRow>
          ))}
        </SkeletonGroup>
      </SkeletonGroupCard>
    </div>
  );
}

Dependencies

More by Victor Mesquita

View all
  • Data Table Toolbar

    Data Table Toolbar

    10
  • Uai Blocks Community Feed

    Uai Blocks Community Feed

    5
  • Task List

    Task List

    4
  • Status Banner

    Status Banner

  • Sign-up Card

    Sign-up Card

  • Password Recovery

    Password Recovery

  • Calendar View

    Calendar View

  • Document Field

    Document Field