---
title: "Skeleton"
description: "A placeholder in the shape of content that is still loading, to avoid layout shift in cards, lists, and tables."
plan: Free
docs: https://ui.edbn.me/docs/components/skeleton
---

# Skeleton

A placeholder in the shape of content that is still loading, to avoid layout shift in cards, lists, and tables.

## Installation

```bash
npx shadcn@4.19.0 add https://ui.edbn.me/r/skeleton.json
```

## Dependencies
- edbn: edbn-base

## Usage

```tsx examples/skeleton-basic.tsx
"use client";
import { Skeleton } from "@/components/ui/skeleton";

export default function SkeletonBasicPreview() {
  return (
    <div className="flex items-center gap-3">
      <Skeleton className="size-11 rounded-full" />
      <div className="space-y-2">
        <Skeleton className="h-4 w-40" />
        <Skeleton className="h-3 w-28" />
      </div>
    </div>
  );
}
```

## Files
- components/ui/skeleton.tsx (14 lines)

## For agents
- Base theme, once per project: npx shadcn@4.19.0 add https://ui.edbn.me/r/edbn-base.json
- MCP server with search, items, examples and source: https://ui.edbn.me/mcp
- Every page and item: https://ui.edbn.me/llms.txt
