Gmail icon
whh:gmail
The Gmail icon (whh:gmail) is a free SVG icon from the WebHostingHub Glyphs set by WebHostingHub. It is drawn on a 1025 × 768 grid. WebHostingHub Glyphs icons are released under the Open Font 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
- WebHostingHub Glyphs
- Author
- WebHostingHub
- License
- OFL-1.1
- Size
- 1025 × 768
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="1025" height="768" viewBox="0 0 1025 768"><path fill="currentColor" d="M960.585 768h-896q-26 0-45-19t-19-45V64q0-27 18.5-45.5T64.585 0h896q27 0 45.5 18.5t18.5 45.5v640q0 26-18.5 45t-45.5 19m0-672q0-13-9.5-22.5t-22.5-9.5h-64q-20 0-31.5 1.5t-30 11t-37.5 28.5l-253 253l-253-253q-19-19-37.5-28.5t-29.5-11t-32-1.5h-64q-13 0-22.5 9.5t-9.5 22.5v576q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5-9.5t9.5-22.5v-33l211-210l74 74q15 15 35 7q20 8 35-7l74-74l211 210v33q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5-9.5t9.5-22.5zm-128 453l-166-166l166-165zm-640-331l166 165l-166 166z"/></svg>How to use the Gmail icon
React
import { Icon } from "@iconify/react";
<Icon icon="whh:gmail" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="whh:gmail" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="whh:gmail" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[whh--gmail]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/whh -->
<div class="i-whh:gmail"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="whh:gmail"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/whh/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. WebHostingHub Glyphs icons are released under the Open Font 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="whh: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/whh/gmail.svg" alt="Gmail icon">, or paste the SVG code inline to style it with CSS.