---
title: "Offset path animated icon"
description: "Offset path animated icon (Vector editing & design). The source pushes its offset out. Light: a copy of the source's outline ripples outward and fades as it reaches the offset contour, which is pushed out by the wave, rebounds and settles. Strong: two ripples leave the source in turn and the offset takes two decaying pushes. The source never moves."
canonical: https://generativeicons.com/icons/offset-path/
---

# Offset path animated icon

The source pushes its offset out. Light: a copy of the source's outline ripples outward and fades as it reaches the offset contour, which is pushed out by the wave, rebounds and settles. Strong: two ripples leave the source in turn and the offset takes two decaying pushes. The source never moves.

- Id: `offset-path`
- Category: Vector editing & design
- Search terms: inset, outset, inset path, outset path, contour, parallel path, offset curve, expand shape, shrink shape, outer path, inner path
- 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/offset-path.lottie (dotLottie, 4063 bytes, sha256 c7e91b5004fb2d321bfbc5c127d3fd0f694b987445c694856ad4990163074348)
- License: MIT

## Install

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

## React

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

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