---
title: "Image file animated icon"
description: "Image file animated icon (Files & folders). The sun rises over the picture. Light: the sun sinks into the peaks and fades as it goes down, then rises back out of them, swelling and brightening, overshoots its spot and settles. Strong: it sinks deeper, rises faster and higher with a hit, swells more, and settles in two beats. The peaks never move."
canonical: https://generativeicons.com/icons/image-file/
---

# Image file animated icon

The sun rises over the picture. Light: the sun sinks into the peaks and fades as it goes down, then rises back out of them, swelling and brightening, overshoots its spot and settles. Strong: it sinks deeper, rises faster and higher with a hit, swells more, and settles in two beats. The peaks never move.

- Id: `image-file`
- Category: Files & folders
- Search terms: jpg, jpeg, png, webp, heic, bmp, tiff, img, photo file, picture file, image attachment, raster
- 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/image-file.lottie (dotLottie, 4477 bytes, sha256 cf845e6a6fe5f1150e2fded6519dd1ac27ea8d7bc3d9fedb3650712c2e02692c)
- License: MIT

## Install

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

## React

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

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