---
title: "Motion sensor animated icon"
description: "Motion sensor animated icon (Smart Home). Light: two detection beams open out from the dome in turn and a person appears in range. Strong: the beams flash open in a tight burst and the person rises in fast, overshoots upward and settles. The detection is retained; preview reset rearms."
canonical: https://generativeicons.com/icons/motion-sensor/
---

# Motion sensor animated icon

Light: two detection beams open out from the dome in turn and a person appears in range. Strong: the beams flash open in a tight burst and the person rises in fast, overshoots upward and settles. The detection is retained; preview reset rearms.

- Id: `motion-sensor`
- Category: Smart Home
- Search terms: motion detector, movement detector, movement, pir sensor, presence sensor, presence detection, occupancy sensor, intruder alert, detection
- Two states: prepared to result, 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/motion-sensor.lottie (dotLottie, 10606 bytes, sha256 b458a12665b7ed32ef871f2d6e98c00beaddfdfe49154c7a6e763ce8aa64f687)
- License: MIT

## Install

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

## React

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

export function MotionSensorIcon() {
  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/motion-sensor.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/motion-sensor/ · https://generativeicons.com/api/icons/motion-sensor
