alwkala

Skeleton

Cards

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 SkeletonDemo() {
  return (
    <div className="w-full max-w-3xl mx-auto grid grid-cols-1 sm:grid-cols-2 gap-5 p-6">
      <div className="qhr-card" style={{ padding: 24 }}>
        <div
          className="flex items-center gap-3.5"
          style={{ marginBlockEnd: 16 }}
        >
          <Skeleton shape="circular" width={52} height={52} />
          <div style={{ flex: 1 }}>
            <Skeleton shape="text" width="60%" height={16} />
            <Skeleton shape="text" width="40%" height={12} className="mt-1.5" />
          </div>
        </div>
        <Skeleton shape="text" width="100%" className="mb-2" />
        <Skeleton shape="text" width="90%" className="mb-2" />
        <Skeleton shape="text" width="65%" />
      </div>

      <div className="qhr-card" style={{ padding: 20 }}>
        <Skeleton
          shape="rectangular"
          width="100%"
          height={130}
          className="mb-4"
        />
        <Skeleton shape="text" width="65%" height="1.5rem" className="mb-2" />
        <Skeleton shape="text" width="100%" />
        <Skeleton shape="text" width="75%" />
      </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

More in Cards

View all
  • Course Design Cards

    Course Design Cards

    1.3K
  • Photo Deck

    Photo Deck

    45
  • Folded Card

    Folded Card

    45
  • Statistics Card 2

    Statistics Card 2

    309
  • Statistics Card 7

    Statistics Card 7

    335
  • Statistics Card 10

    Statistics Card 10

    303
  • Interactive Tech Stack Bento Grid with Hover Effects

    Interactive Tech Stack Bento Grid with Hover Effects

    715
  • Product List 01

    Product List 01

    41