---
title: "Camera animated icon"
description: "Camera animated icon (Interface). A photo is taken. Light: the shutter button clicks down, the iris snaps shut behind the lens and the flash fires: three rays burst up from the top of the camera and fade; the iris springs back open and the button pops up with a small rebound. Strong: burst mode: two shots in turn, the button clicks twice, the iris blinks twice and the flash fires twice, the second harder. The body and lens never move."
canonical: https://generativeicons.lottiefiles.com/icons/camera/
---

# Camera animated icon

A photo is taken. Light: the shutter button clicks down, the iris snaps shut behind the lens and the flash fires: three rays burst up from the top of the camera and fade; the iris springs back open and the button pops up with a small rebound. Strong: burst mode: two shots in turn, the button clicks twice, the iris blinks twice and the flash fires twice, the second harder. The body and lens never move.

- Id: `camera`
- Category: Interface
- Search terms: photo, take photo, take picture, picture, snapshot, shutter, capture, photography, dslr, snap
- 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.lottiefiles.com/assets/camera.lottie (dotLottie, 5459 bytes, sha256 3f3e19c61f88cb0ff070035bf8af3c6663479a06c6feec581785298380814edc)
- License: MIT

## Install

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

## React

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

export function CameraIcon() {
  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/camera.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.lottiefiles.com/icons/camera/ · https://generativeicons.lottiefiles.com/api/icons/camera
