---
title: "Join paths animated icon"
description: "Join paths animated icon (Vector editing & design). Two open endpoints snap together into one node. Light: the endpoints are drawn toward each other, speeding up like magnets, meet at the shared node with a hit, and the welded node pops once and settles. Strong: they pull back first, then snap together harder and the welded node pops bigger with a rebound. The reverse pulls the joint apart. The arch's feet never move; the joined path holds."
canonical: https://generativeicons.com/icons/join-paths/
---

# Join paths animated icon

Two open endpoints snap together into one node. Light: the endpoints are drawn toward each other, speeding up like magnets, meet at the shared node with a hit, and the welded node pops once and settles. Strong: they pull back first, then snap together harder and the welded node pops bigger with a rebound. The reverse pulls the joint apart. The arch's feet never move; the joined path holds.

- Id: `join-paths`
- Category: Vector editing & design
- Search terms: connect paths, connect endpoints, join points, join anchors, join nodes, merge nodes, merge points, weld points, close path, connect nodes, ctrl j, cmd j
- Two states: open-endpoints to joined-path, 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/join-paths.lottie (dotLottie, 7889 bytes, sha256 dfead2b18a40bbc645c4080cdbd93e1fdacdc2eb0ab2ff0e3554ba9ce0392528)
- License: MIT

## Install

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

## React

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

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