---
title: "Photo edit animated icon"
description: "Photo edit animated icon (Photos & camera). The photo is being edited: the pencil writes on it. Light: the pencil swoops down under the photo's corner, writes a short squiggle that draws on behind its tip, and lifts back to its place while the mark fades. Strong: the pencil comes down with a tap that bounces, writes the squiggle faster, then flicks off past its place and settles. The photo never moves."
canonical: https://generativeicons.com/icons/photo-edit/
---

# Photo edit animated icon

The photo is being edited: the pencil writes on it. Light: the pencil swoops down under the photo's corner, writes a short squiggle that draws on behind its tip, and lifts back to its place while the mark fades. Strong: the pencil comes down with a tap that bounces, writes the squiggle faster, then flicks off past its place and settles. The photo never moves.

- Id: `photo-edit`
- Category: Photos & camera
- Search terms: edit image, edit picture, image editor, photo editor, image editing, retouch, touch up, markup, annotate, draw on photo, doodle
- 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/photo-edit.lottie (dotLottie, 4686 bytes, sha256 21628da81df6db5333e037acd228567d5e6c4b2dc6c784c85460c5f00521c637)
- License: MIT

## Install

```sh
npm install @lottiefiles/generative-icons-runtime
npx generative-icons init
npx generative-icons add photo-edit
```

## React

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

export function PhotoEditIcon() {
  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/photo-edit.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/photo-edit/ · https://generativeicons.com/api/icons/photo-edit
