Mailbox icon
uil:mailbox
The Mailbox icon (uil:mailbox) is a free SVG icon from the Unicons set by Iconscout. It is drawn on a 24 × 24 grid. Unicons are released under the Apache 2.0 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
- Unicons
- Author
- Iconscout
- License
- Apache-2.0
- Size
- 24 × 24
- Category
- Communication
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M8 12h2a1 1 0 0 0 0-2H8a1 1 0 0 0 0 2m9-6h-5V4h1a1 1 0 0 0 0-2h-2a1 1 0 0 0-1 1v3H7a4 4 0 0 0-4 4v6a1 1 0 0 0 1 1h6v4a1 1 0 0 0 2 0v-4h8a1 1 0 0 0 1-1v-6a4 4 0 0 0-4-4m-4 4v5H5v-5a2 2 0 0 1 2-2h6.56a3.9 3.9 0 0 0-.56 2m6 5h-4v-5a2 2 0 0 1 4 0Z"/></svg>How to use the Mailbox icon
React
import { Icon } from "@iconify/react";
<Icon icon="uil:mailbox" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="uil:mailbox" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="uil:mailbox" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[uil--mailbox]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/uil -->
<div class="i-uil:mailbox"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="uil:mailbox"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/uil/mailbox.svg" alt="Mailbox icon" width="24" height="24">Related icons in Unicons
Mailbox icon in other icon sets
Mailbox icon FAQ
Is the Mailbox icon free for commercial use?
Yes. Unicons are released under the Apache 2.0 license, which allows use in personal and commercial projects.
How do I use the Mailbox icon in React?
Install @iconify/react and render <Icon icon="uil:mailbox" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Mailbox icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/uil/mailbox.svg" alt="Mailbox icon">, or paste the SVG code inline to style it with CSS.