dixant

Skeleton

Component

About

A pulsing placeholder block that mimics text, circular, or rectangular content while real data 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 RectangularSkeletonDemo() {
  return (
    <div className="flex min-h-[250px] w-full items-center justify-center p-8">
      <Skeleton variant="rectangular" width={320} height={120} />
    </div>
  );
}

More by dixant

View all
  • Tooltip

    Tooltip

  • Pagination

    Pagination

  • Radio Group

    Radio Group

  • Icon

    Icon