shadcn

Skeleton

Cards 20

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

    783
  • Calendar with time pressets

    Calendar with time pressets

    515
  • Sidebar

    Sidebar

    348
  • Sonner

    Sonner

    236
  • Chart

    Chart

    221
  • Icons

    Icons

    193
  • Dropdown Menu

    Dropdown Menu

    154
  • Calendar with event slots

    Calendar with event slots

    120

More in Cards

View all
  • Course Design Cards

    Course Design Cards

    1.1K
  • Interactive Tech Stack Bento Grid with Hover Effects

    Interactive Tech Stack Bento Grid with Hover Effects

    229
  • Stats cards with links

    Stats cards with links

    84
  • Statistics Card 7

    Statistics Card 7

    301
  • Card Studio

    Card Studio

    10
  • Weather Card

    Weather Card

    59
  • Statistics Card 2

    Statistics Card 2

    276
  • Card

    Card

    56