---
title: "Delete message animated icon"
description: "Delete message animated icon (Chat & messaging). Delete → two message lines retract into a removal mark → the bubble becomes a deleted-message placeholder → deletion is retained. Light: gradual replacement. Strong: fast leftward removal. Reverse restores the message content."
canonical: https://generativeicons.com/icons/delete-message/
---

# Delete message animated icon

Delete → two message lines retract into a removal mark → the bubble becomes a deleted-message placeholder → deletion is retained. Light: gradual replacement. Strong: fast leftward removal. Reverse restores the message content.

- Id: `delete-message`
- Category: Chat & messaging
- Search terms: unsend, unsend message, remove message, recall message, retract, delete for everyone, trash message, erase message, delete chat
- Two states: Message to Deleted, 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/delete-message.lottie (dotLottie, 10434 bytes, sha256 bd095a67096904b65316aa1df82bcdc1210781b9b7e14770307253733b1fc8a9)
- License: MIT

## Install

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

## React

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

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