---
title: "Restore file animated icon"
description: "Restore file animated icon (Files & folders). The restore arrow on the sheet turns one full anticlockwise turn. Light: one smooth turn. Strong: a short clockwise wind-up, a fast turn past the mark with a hit, then a settle back onto it."
canonical: https://generativeicons.com/icons/restore-file/
---

# Restore file animated icon

The restore arrow on the sheet turns one full anticlockwise turn. Light: one smooth turn. Strong: a short clockwise wind-up, a fast turn past the mark with a hit, then a settle back onto it.

- Id: `restore-file`
- Category: Files & folders
- Search terms: recover, recover file, undelete, restore deleted, recover deleted, file recovery, revert, roll back, rollback, bring back, put back, retrieve deleted
- One action, back to rest
- 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/restore-file.lottie (dotLottie, 28866 bytes, sha256 52e0d318c0dae10a557ef103b8b6e969f152b0c6085e432a4065ff623632b619)
- License: MIT

## Install

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

## React

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

export function RestoreFileIcon() {
  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/restore-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/restore-file/ · https://generativeicons.com/api/icons/restore-file
