# AttachFileIcon

> For the complete documentation index, see [llms.txt](https://lucide-animated.com/llms.txt). Per-icon markdown is at `https://lucide-animated.com/icons/<name>.md`. An MCP server is available at `https://lucide-animated.com/mcp`.

> Animated attach file icon for React — part of lucide-animated.

Source page: https://lucide-animated.com/icons/attach-file

## Install

```bash
npx shadcn@latest add "https://lucide-animated.com/r/attach-file.json"
```

## Usage

```tsx
import { AttachFileIcon } from "@/components/icons/attach-file";

export function Demo() {
  return <AttachFileIcon className="size-6" />;
}
```

The component animates on hover by default. All standard SVG props are forwarded.

## Keywords

- attachment
- file

## Similar icons

- [FileChartLineIcon](https://lucide-animated.com/icons/file-chart-line.md)
- [FileCheckIcon](https://lucide-animated.com/icons/file-check.md)
- [FileCheck2Icon](https://lucide-animated.com/icons/file-check-2.md)
- [FileCogIcon](https://lucide-animated.com/icons/file-cog.md)
- [FileTextIcon](https://lucide-animated.com/icons/file-text.md)
- [FolderArchiveIcon](https://lucide-animated.com/icons/folder-archive.md)
