Gmail icon
bxl:gmail
The Gmail icon (bxl:gmail) is a free SVG icon from the Boxicons Brands set by Boxicons. It is drawn on a 24 × 24 grid. Boxicons Brands 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
- Boxicons Brands
- Author
- Boxicons
- License
- MIT
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="m18.73 5.41l-1.28 1L12 10.46L6.55 6.37l-1.28-1A2 2 0 0 0 2 7.05v11.59A1.36 1.36 0 0 0 3.36 20h3.19v-7.72L12 16.37l5.45-4.09V20h3.19A1.36 1.36 0 0 0 22 18.64V7.05a2 2 0 0 0-3.27-1.64"/></svg>How to use the Gmail icon
React
import { Icon } from "@iconify/react";
<Icon icon="bxl:gmail" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="bxl:gmail" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="bxl:gmail" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[bxl--gmail]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/bxl -->
<div class="i-bxl:gmail"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="bxl:gmail"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/bxl/gmail.svg" alt="Gmail icon" width="24" height="24">Gmail icon in other icon sets
Gmail icon FAQ
Is the Gmail icon free for commercial use?
Yes. Boxicons Brands icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Gmail icon in React?
Install @iconify/react and render <Icon icon="bxl:gmail" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Gmail icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/bxl/gmail.svg" alt="Gmail icon">, or paste the SVG code inline to style it with CSS.