Gmail icon
thesvg-color:gmail
The Gmail icon (thesvg-color:gmail) is a free SVG icon from the theSVG Color set by thesvg.org. It is drawn on a 512 × 399 grid. theSVG Color 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
- theSVG Color
- Author
- thesvg.org
- License
- MIT
- Size
- 512 × 399
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="399" viewBox="0 0 512 399"><g fill="none" fill-rule="evenodd"><g fill-rule="nonzero"><path fill="#4285f4" d="M34.91 448.818h81.454V251L0 163.727V413.91c0 19.287 15.622 34.91 34.91 34.91z"/><path fill="#34a853" d="M395.636 448.818h81.455c19.287 0 34.909-15.622 34.909-34.909V163.727L395.636 251z"/><path fill="#fbbc04" d="M395.636 99.727V251L512 163.727v-46.545c0-43.142-49.25-67.782-83.782-41.891z"/></g><path fill="#ea4335" d="M116.364 251V99.727L256 204.455L395.636 99.727V251L256 355.727z"/><path fill="#c5221f" fill-rule="nonzero" d="M0 117.182v46.545L116.364 251V99.727L83.782 75.291C49.25 49.4 0 74.04 0 117.18z"/></g></svg>How to use the Gmail icon
React
import { Icon } from "@iconify/react";
<Icon icon="thesvg-color:gmail" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="thesvg-color:gmail" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="thesvg-color:gmail" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[thesvg-color--gmail]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/thesvg-color -->
<div class="i-thesvg-color:gmail"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="thesvg-color:gmail"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/thesvg-color/gmail.svg" alt="Gmail icon" width="24" height="24">Related icons in theSVG Color
Gmail icon in other icon sets
Gmail icon FAQ
Is the Gmail icon free for commercial use?
Yes. theSVG Color 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="thesvg-color: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/thesvg-color/gmail.svg" alt="Gmail icon">, or paste the SVG code inline to style it with CSS.