---
title: "Boolean union animated icon"
description: "Boolean union animated icon (Vector editing & design). Two overlapping square operands select the combined area. Light: a quiet separation then a smooth selection. Strong: both operands draw apart 1.2 units and snap together before the result holds. Reverse restores both operands with its own timing."
canonical: https://generativeicons.com/icons/boolean-union/
---

# Boolean union animated icon

Two overlapping square operands select the combined area. Light: a quiet separation then a smooth selection. Strong: both operands draw apart 1.2 units and snap together before the result holds. Reverse restores both operands with its own timing.

- Id: `boolean-union`
- Category: Vector editing & design
- Search terms: unite, unite shapes, combine shapes, merge shapes, weld, weld shapes, pathfinder, shape builder, boolean add, add shapes, join shapes
- Two states: Separate operands to United region, 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/boolean-union.lottie (dotLottie, 11337 bytes, sha256 de60a084d2b5e4e73a9d507c4a5f21bd5fe086267d00d91b6154a82932d316f1)
- License: MIT

## Install

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

## React

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

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