dixant

Skeleton

Cards

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 SkeletonDemo() {
  return (
    <div className="flex min-h-[400px] w-full items-center justify-center p-8">
      <div
        style={{
          display: "flex",
          flexDirection: "column",
          gap: 12,
          maxWidth: 320,
          padding: 16,
          border: "1px solid var(--tatva-color-border, #e2e8f0)",
          borderRadius: 8,
        }}
      >
        <Skeleton variant="rectangular" width="100%" height={120} />
        <Skeleton width="70%" />
        <Skeleton lines={3} />
      </div>
    </div>
  );
}

More by dixant

View all
  • Tooltip

    Tooltip

    1
  • Spinner

    Spinner

    1
  • Select

    Select

  • Tatva Input

    Tatva Input

  • Typography

    Typography

  • Avatar

    Avatar

  • Divider

    Divider

  • Stack

    Stack

More in Cards

View all
  • Stats cards with links

    Stats cards with links

    46
  • Course Design Cards

    Course Design Cards

    1.3K
  • Liquid Glass Card

    Liquid Glass Card

    202
  • Statistics Card 2

    Statistics Card 2

    321
  • Card Studio

    Card Studio

    37
  • Astryx Clickable Card

    Astryx Clickable Card

    1
  • Admin Dashboard Cards

    Admin Dashboard Cards

    40
  • Statistics Card 10

    Statistics Card 10

    307