---
title: "Co-edit animated icon"
description: "Co-edit animated icon (Teamwork). Two carets type toward each other on the same document; both written lines remain."
canonical: https://generativeicons.com/icons/co-edit/
---

# Co-edit animated icon

Two carets type toward each other on the same document; both written lines remain.

- Id: `co-edit`
- Category: Teamwork
- Search terms: coedit, co-editing, collaborative editing, real-time editing, realtime collaboration, edit together, multiplayer editing, simultaneous editing, co-writing, typing together
- Two states: prepared to result, 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/co-edit.lottie (dotLottie, 8953 bytes, sha256 e09f575e8e7ef11efb1af1e2c5df74b2b8d4a7d19aed9f74c2774f0a35da342a)
- License: MIT

## Install

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

## React

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

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