Mail X icon
keyline-icons:mail-x
The Mail X icon (keyline-icons:mail-x) is a free SVG icon from the Keyline Icons set. It is drawn on a 24 × 24 grid. Keyline Icons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Keyline Icons
- Author
- Keyline Icons
- License
- MIT
- Size
- 24 × 24
- Tags
- mailx
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 20H5C3.34315 20 2 18.6569 2 17V7C2 5.34315 3.34315 4 5 4H19C20.6569 4 22 5.34315 22 7V10M2 7L11.2929 11C11.7154 11.2817 12.2846 11.2817 12.7071 11L22 7M16 14L22 20M22 14L16 20"/></svg>How to use the Mail X icon
React
import { Icon } from "@iconify/react";
<Icon icon="keyline-icons:mail-x" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="keyline-icons:mail-x" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="keyline-icons:mail-x" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[keyline-icons--mail-x]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/keyline-icons -->
<div class="i-keyline-icons:mail-x"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="keyline-icons:mail-x"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/keyline-icons/mail-x.svg" alt="Mail X icon" width="24" height="24">Related icons in Keyline Icons
mail
mail-check
mail-check-duotone
mail-check-fill
mail-check-sharp
mail-check-sharp-duotone
mail-check-sharp-fill
mail-check-sharp-two-tone
mail-check-two-tone
mail-dot
mail-dot-duotone
mail-dot-fill
mail-dot-sharp
mail-dot-sharp-duotone
mail-dot-sharp-fill
mail-dot-sharp-two-tone
mail-dot-two-tone
mail-duotone
mail-fill
mail-minus
mail-minus-duotone
mail-minus-fill
mail-minus-sharp
mail-minus-sharp-duotone
Mail X icon in other icon sets
Mail X icon FAQ
Is the Mail X icon free for commercial use?
Yes. Keyline Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Mail X icon in React?
Install @iconify/react and render <Icon icon="keyline-icons:mail-x" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Mail X icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/keyline-icons/mail-x.svg" alt="Mail X icon">, or paste the SVG code inline to style it with CSS.