---
title: "Camera off animated icon"
description: "Camera off animated icon (Media & playback). A diagonal stroke switches the camera off. Strong draws the stroke in one fast move with a small extension and a clean settle."
canonical: https://generativeicons.com/icons/camera-off/
---

# Camera off animated icon

A diagonal stroke switches the camera off. Strong draws the stroke in one fast move with a small extension and a clean settle.

- Id: `camera-off`
- Category: Media & playback
- Search terms: video off, no video, disable camera, camera disabled, turn off camera, webcam off, stop video, mute video, hide video, cam off
- Two states: On to Off, 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/camera-off.lottie (dotLottie, 8090 bytes, sha256 f2d7cc7ae10c40f4b7299d27a4485ff8815c8e33f995845b767f2ccacacd74a0)
- License: MIT

## Install

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

## React

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

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