# Skeleton

> A placeholder block for content that is still loading.

- Category: [Actions & feedback](https://tarve.dev/docs.md#actions)
- Import: `import { Skeleton } from "@tarve/core";`
- Props type: `SkeletonProps`
- Source: [packages/core/src/extra-controls.ts:29](https://github.com/omarcosr/tarve/blob/main/packages/core/src/extra-controls.ts#L29)

## Usage

```tsx title="Skeleton.tsx"
import { Column, Skeleton } from "@tarve/core";

<Column gap={8} style={{ width: 280 }}>
  <Skeleton height={20} width="60%" />
  <Skeleton height={14} />
  <Skeleton height={14} width="80%" />
</Column>
```

## Props

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `height` | `Style["height"]` | `16` |  |
| `radius` | `number` | `theme.radius.sm` |  |
| `width` | `Style["width"]` | `"100%"` |  |

## Common props

Shared by every component (descriptions: https://tarve.dev/docs.md#common-props): `children`, `class`, `className`, `highlight`, `id`, `key`, `motionFrom`, `onHighlight`, `onPaste`, `onPointerLeave`, `onPointerMove`, `onSize`, `onTransitionEnd`, `rovingGroup`, `style`.

Previous: [Spinner](https://tarve.dev/docs/components/Spinner.md) · Next: [Alert](https://tarve.dev/docs/components/Alert.md)

---

Tarve v0.13.8 · HTML version: https://tarve.dev/docs/components/Skeleton · Index for agents: https://tarve.dev/llms.txt
