---
title: "Power outlet animated icon"
description: "Power outlet animated icon (Smart Home). Light: the button presses 0.6 units and the status light comes on. Strong: a hard 1.2-unit press with a small rebound, and the status light pops on past full size and settles. The on state is retained; preview reset rearms."
canonical: https://generativeicons.com/icons/power-outlet/
---

# Power outlet animated icon

Light: the button presses 0.6 units and the status light comes on. Strong: a hard 1.2-unit press with a small rebound, and the status light pops on past full size and settles. The on state is retained; preview reset rearms.

- Id: `power-outlet`
- Category: Smart Home
- Search terms: socket, wall socket, plug socket, electrical socket, electrical outlet, smart plug, receptacle, mains
- 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/power-outlet.lottie (dotLottie, 9159 bytes, sha256 c1df1134d055452f0796b71b4e8ad3ff01dbde4f7017db84875a077535ff1cf2)
- License: MIT

## Install

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

## React

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

export function PowerOutletIcon() {
  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/power-outlet.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/power-outlet/ · https://generativeicons.com/api/icons/power-outlet
