---
title: Skeleton
description: A placeholder shape shown while content is loading.
---
## Preview
## Installation
CLI
Manual
```bash
npx @olyx/cli@latest add skeleton
```
Copy and paste the following code into your project.
Update the import paths to match your project setup.
## Usage
```tsx
import { Skeleton } from "@/components/ui/skeleton"
```
```tsx
```
## API Reference
This is a custom component, not a Base UI wrapper.
### Skeleton
A simple div with animated pulse effect for loading states. Apply sizing via inline styles or className.
| Prop | Type | Default |
| --------- | --------- | ------- |
| `rounded` | `boolean` | `false` |
## Examples
### Lines Only