---
title: "Build animated icon"
description: "Build animated icon (Developer & version control). A build runs: the hammer strikes. Light: the claw hammer swings back about its grip, then strikes forward and stops dead with a hit, sparks burst off its face and fade, and it rebounds a little and settles. Strong: the hammer winds back further and holds, strikes harder with a bigger burst of sparks, rebounds and strikes a second, smaller blow with a smaller burst, then settles."
canonical: https://generativeicons.com/icons/build/
---

# Build animated icon

A build runs: the hammer strikes. Light: the claw hammer swings back about its grip, then strikes forward and stops dead with a hit, sparks burst off its face and fade, and it rebounds a little and settles. Strong: the hammer winds back further and holds, strikes harder with a bigger burst of sparks, rebounds and strikes a second, smaller blow with a smaller burst, then settles.

- Id: `build`
- Category: Developer & version control
- Search terms: compile, compiler, hammer, make, ci, continuous integration, bundle, construct, construction, craft, under construction, forge
- 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.com/assets/build.lottie (dotLottie, 4108 bytes, sha256 1bc53f3e4416e59095f4c7d64b24c8ef799fa5e863cf4bf8ddd74bb1ed0a07c4)
- License: MIT

## Install

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

## React

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

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