---
title: Skeleton
description: Use to show a placeholder while content is loading.
component: true
---

<ComponentExample src="/components/examples/skeleton/demo.tsx">
  <SkeletonDemo />
</ComponentExample>

## Installation

```bash
npx shadcn-ui add skeleton
```

<Accordion type="single" collapsible>
  <AccordionItem value="manual-installation">
    <AccordionTrigger>Manual Installation</AccordionTrigger>
    <AccordionContent>

1. Copy and paste the following code into your project.

<ComponentSource src="/components/ui/skeleton.tsx" />

<Callout>
  This is the `<Skeleton />` primitive. You can place it in a file at
  `components/ui/skeleton.tsx`.
</Callout>

    </AccordionContent>

  </AccordionItem>
</Accordion>

## Usage

```tsx
import { Skeleton } from "@/components/ui/skeleton"
```

```tsx
<Skeleton className="w-[100px] h-[20px] rounded-full" />
```
