---
title: "Mail animated icon"
description: "Mail animated icon (Interface). The full triangular flap springs open above its seam, a letter pops from the pocket and settles; the letter returns before the flap closes."
canonical: https://generativeicons.com/icons/mail/
---

# Mail animated icon

The full triangular flap springs open above its seam, a letter pops from the pocket and settles; the letter returns before the flap closes.

- Id: `mail`
- Category: Interface
- Search terms: email, e-mail, envelope, letter, post, postal, send email, contact us, newsletter, correspondence
- 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/mail.lottie (dotLottie, 9132 bytes, sha256 76bc95de70c9f4ae8c61b8c8c8c38152f3dd1aec9a28b377e24c5f1789b6ea9e)
- License: MIT

## Install

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

## React

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

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