---
title: "Photo favorite animated icon"
description: "Photo favorite animated icon (Photos & camera). Unmarked to favourite: the heart pops and fills in from its centre, then holds. Strong squeezes the heart first and pops it bigger with one settle. Reverse empties the heart with a small dip."
canonical: https://generativeicons.com/icons/photo-favorite/
---

# Photo favorite animated icon

Unmarked to favourite: the heart pops and fills in from its centre, then holds. Strong squeezes the heart first and pops it bigger with one settle. Reverse empties the heart with a small dip.

- Id: `photo-favorite`
- Category: Photos & camera
- Search terms: favourite, favourite photo, favourite image, like photo, love photo, liked photos, favorite image, favorite picture, heart photo
- Two states: unmarked to favorite, 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/photo-favorite.lottie (dotLottie, 26797 bytes, sha256 499dd24fa4966f6023616c4d91261d72dd1bb585f22aee6c999c8f84552a71ca)
- License: MIT

## Install

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

## React

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

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