shadcn

Skeleton

Cards 22

About

Use to show a placeholder while content is 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 {
  Card,
  CardContent,
  CardFooter,
  CardHeader,
} from "@/components/ui/card";
import { Skeleton } from "@/components/ui/skeleton";

export function Cards() {
  return (
    <Card  className="min-w-[300px]">
      <CardHeader>
        <Skeleton className="h-4 w-4/5" />
        <Skeleton className="h-4 w-2/3" />
      </CardHeader>
      <CardContent>
        <Skeleton className="h-72 w-full rounded" />
      </CardContent>
      <CardFooter className="gap-2">
        <Skeleton className="h-8 w-20" />
        <Skeleton className="h-8 w-20" />
      </CardFooter>
    </Card>
  );
}

More by shadcn

View all
  • Navigation menu

    Navigation menu

    799
  • Calendar with time pressets

    Calendar with time pressets

    521
  • Sidebar

    Sidebar

    356
  • Sonner

    Sonner

    247
  • Chart

    Chart

    226
  • Icons

    Icons

    205
  • Dropdown Menu

    Dropdown Menu

    158
  • Calendar with event slots

    Calendar with event slots

    124

More in Cards

View all
  • Course Design Cards

    Course Design Cards

    1.3K
  • Stats cards with links

    Stats cards with links

    133
  • Card

    Card

    58
  • Statistics Card 7

    Statistics Card 7

    320
  • Card Studio

    Card Studio

    14
  • Interactive Tech Stack Bento Grid with Hover Effects

    Interactive Tech Stack Bento Grid with Hover Effects

    550
  • Statistics Card 10

    Statistics Card 10

    289
  • The Item one

    The Item one

    3