---
title: "Rename file animated icon"
description: "Rename file animated icon (Files & folders). The title line on the sheet is erased and retyped while the caret follows. Light: a smooth shorten-and-regrow. Strong: a fast erase, a pause, then four decisive typing steps."
canonical: https://generativeicons.com/icons/rename-file/
---

# Rename file animated icon

The title line on the sheet is erased and retyped while the caret follows. Light: a smooth shorten-and-regrow. Strong: a fast erase, a pause, then four decisive typing steps.

- Id: `rename-file`
- Category: Files & folders
- Search terms: change name, edit name, filename, file name, edit filename, retitle, edit title, change title, relabel, name document
- 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/rename-file.lottie (dotLottie, 9377 bytes, sha256 19d88710bbfbd2ab81d38c6911d16304fbf9300ebe3ec986736e249bf8474e98)
- License: MIT

## Install

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

## React

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

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