alwkala

Skeleton

Component

About

A pulsing placeholder block for rectangular, circular, or text-shaped content that shows 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 SkeletonTableDemo() {
  return (
    <div className="qhr-card w-full max-w-2xl mx-auto flex flex-col gap-3.5">
      <div className="flex gap-4">
        <Skeleton width="25%" height={18} />
        <Skeleton width="35%" height={18} />
        <Skeleton width="20%" height={18} />
        <Skeleton width="20%" height={18} />
      </div>
      <div className="flex gap-4">
        <Skeleton width="25%" height={14} />
        <Skeleton width="35%" height={14} />
        <Skeleton width="20%" height={14} />
        <Skeleton width="20%" height={14} />
      </div>
      <div className="flex gap-4">
        <Skeleton width="25%" height={14} />
        <Skeleton width="35%" height={14} />
        <Skeleton width="20%" height={14} />
        <Skeleton width="20%" height={14} />
      </div>
    </div>
  );
}

More by alwkala

View all
  • Callout

    Callout

    10
  • Progress Bar

    Progress Bar

    2
  • Breadcrumb

    Breadcrumb

    1
  • Navbar

    Navbar

    1
  • Kbd

    Kbd

  • Pagination

    Pagination

  • Back To Top

    Back To Top

  • Checkbox

    Checkbox