---
title: "Duplicate file animated icon"
description: "Duplicate file animated icon (Files & folders). Single → duplicated: a copy slides out from behind the sheet to the lower right; the original stays visible along its top and left edges. Strong: a short pull, a fast slide past the mark with a hit and a settle. Reverse tucks the copy back."
canonical: https://generativeicons.com/icons/duplicate-file/
---

# Duplicate file animated icon

Single → duplicated: a copy slides out from behind the sheet to the lower right; the original stays visible along its top and left edges. Strong: a short pull, a fast slide past the mark with a hit and a settle. Reverse tucks the copy back.

- Id: `duplicate-file`
- Category: Files & folders
- Search terms: copy file, make a copy, clone, clone file, copy document, duplicate document, replicate, save a copy, save as copy
- Two states: single to duplicated, played forward and back
- Styles: outline, solid, duotone; outline weights 1.5, 2, 2.5 (any from 1 to 3); motion light or strong
- File: https://generativeicons.com/assets/duplicate-file.lottie (dotLottie, 21338 bytes, sha256 76e2f5aeeab568f5d96dc2f60b288b17d1e28ca67fa3004c1422eb8958a9ba66)
- License: MIT

## Install

```sh
npm install @lottiefiles/generative-icons-runtime
npx generative-icons init
npx generative-icons add duplicate-file
```

## React

```tsx
// npm install @lottiefiles/generative-icons-react
'use client';
import { AnimatedIcon } from '@lottiefiles/generative-icons-react';
import icon, { src } from './generative-icons/duplicate-file.mjs';

export function DuplicateFileIcon() {
  return <AnimatedIcon icon={icon} src={src} size={32}
    color="#ffffff" variant="outline" weight={2}
    motion="light" theme="dark" />;
}
```

## JavaScript

```js
import { createIcon } from '@lottiefiles/generative-icons-runtime';
import icon, { src } from './generative-icons/duplicate-file.mjs';

const handle = await createIcon(canvas, {
  icon, src,
  color: '#ffffff', style: 'outline', weight: 2,
  motion: 'light', theme: 'dark'
});
button.addEventListener('click', () => handle.play());
// On removal: handle.destroy();
```

More: https://generativeicons.com/icons/duplicate-file/ · https://generativeicons.com/api/icons/duplicate-file
