---
title: "Files Illustration 01"
description: "A fan of three sheets with an upload badge, for an empty file list or upload area."
url: https://gelatinui.com/components/files-illustration-01
markdown_url: https://gelatinui.com/components/files-illustration-01.md
access: free
install: "npx shadcn@latest add @gelatin-ui/files-illustration-01"
registry_item: https://gelatinui.com/r/files-illustration-01.json
version: "2026-11-13"
index: https://gelatinui.com/llms.txt
docs_index: https://gelatinui.com/docs/llms.txt
---

# Files Illustration 01

> A fan of three sheets with an upload badge, for an empty file list or upload area.

Page: https://gelatinui.com/components/files-illustration-01

## When to use it

Best for: An empty folder, file list, or upload area.

- Use it as the picture of an `Empty`, in an `EmptyMedia` with no box.
- Keep the title of the `Empty` as the text: the picture is decorative and hidden from screen readers.
- Set `animateIn={false}` when the empty state swaps in often.

## When not to use it

- For a small panel or a table cell, use the icon look of [Empty](https://gelatinui.com/components/empty.md).
- For content that loads soon, use a [Skeleton](https://gelatinui.com/components/skeleton.md).

## Notes for agents

- A fan of three sheets with an upload badge on the front sheet.
- The default `fade` is `x`; the stage is 320 × 168 at most and shrinks in a narrow box.
- It takes every prop of `Illustration`: `fade`, `animateIn`, `enterFrom`, and the Motion `div` props.

## Anatomy

```text
FilesIllustration01
```

## API reference

### FilesIllustration01

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `fade` | `"bottom" \| "none" \| "top" \| "x"` | "x" |  |
| `animateIn` | `boolean` |  | Play the enter when the stage first scrolls into view (default `true`). Set `false` to show the rest pose at once, for example when the empty state swaps in often. |
| `enterFrom` | `"first" \| "last"` |  | Which part starts the enter: the first one in the tree (default) or the last one. |
| `children` | `ReactNode` |  |  |

## Styling

| Part | Slot | States | CSS variables | Tokens |
| --- | --- | --- | --- | --- |
| FilesIllustration01 | `files-illustration-01` |  |  |  |

## Usage

Put it in the `EmptyMedia` of an `Empty`, with no box.

The sample also uses `empty`, which this add does not write. One command adds them with this item:

```bash
npx shadcn@latest add @gelatin-ui/files-illustration-01 @gelatin-ui/empty
```

```tsx title="empty-files.tsx"
import { FilesIllustration01 } from "@/components/illustrations/files-illustration-01";
import {
  Empty,
  EmptyDescription,
  EmptyHeader,
  EmptyMedia,
  EmptyTitle,
} from "@/components/ui/empty";

export function EmptyFiles() {
  return (
    <Empty>
      <EmptyHeader>
        <EmptyMedia>
          <FilesIllustration01 />
        </EmptyMedia>
        <EmptyTitle>No files yet</EmptyTitle>
        <EmptyDescription>Upload a file, or drop it here.</EmptyDescription>
      </EmptyHeader>
    </Empty>
  );
}
```

## Compose

Build it with:

- [Dropzone](https://gelatinui.com/components/dropzone.md): Takes the files by drop or by a press.
- [Attachment](https://gelatinui.com/components/attachment.md): Shows each file with its state.
- [Progress](https://gelatinui.com/components/progress.md): Shows how far an upload is.

Rules:

- Every state is designed (`every-state`): Give each view of data its loading, empty, and error states: a skeleton in the final layout, an `Empty` with an illustration and one next action, and an error that says what failed and how to retry.
- No layout jump (`no-layout-jump`): When a state change adds, removes, or resizes content, reserve its space or animate its size, so nothing below it jumps.
- Real content (`real-content`): Fill the UI with content of the real product (real names, amounts, dates, and states), never lorem text or "Item 1".
- Compose the parts (`compose-parts`): Build each item from its named parts as children, and pass your text and icons in as parts.

Patterns: `gelatin://patterns/file-upload`

## Add it

```bash
npx shadcn@latest add @gelatin-ui/files-illustration-01
```

It adds 14 registry items: 13 files, 2534 lines, and the npm packages `@base-ui/react`, `@mantine/hooks`, `@phosphor-icons/react`, `motion`, `tailwind-merge`, `tailwind-variants`.

## For AI agents

- Every item, one file: https://gelatinui.com/llms.txt
- MCP server (`search_items`, `get_item`, `get_install_plan`): https://gelatinui.com/mcp

## Related

- [Empty](https://gelatinui.com/components/empty.md)
- [Skeleton](https://gelatinui.com/components/skeleton.md)

## Motion

| Part | Motion |
| --- | --- |
| Enter | panel · the parts rise in once, 60ms apart, when 40% of the stage is in view |
| Hover | glide · the fan opens to ±12° and the upload arrow moves up 2px; a touch shows no hover pose |
