---
title: "Lightbulb animated icon"
description: "Lightbulb animated icon (Onboarding & tips). Off → on. Light: the filament fades in and three rays extend 1.9 units from the glass. Strong: the bulb jolts up 0.7 as the rays shoot out 2.2 and settle back to 1.9. The reverse retracts the rays and fades the filament."
canonical: https://generativeicons.com/icons/lightbulb/
---

# Lightbulb animated icon

Off → on. Light: the filament fades in and three rays extend 1.9 units from the glass. Strong: the bulb jolts up 0.7 as the rays shoot out 2.2 and settle back to 1.9. The reverse retracts the rays and fades the filament.

- Id: `lightbulb`
- Category: Onboarding & tips
- Search terms: idea, ideas, light bulb, bulb, hint, insight, inspiration, innovation, creativity, creative, eureka, think
- Two states: off to on, 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/lightbulb.lottie (dotLottie, 10802 bytes, sha256 5386479245363fac2cc2ef45d9f6ff77558368cdfb570db41df1cb5dfeedea12)
- License: MIT

## Install

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

## React

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

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