ICONYZ
English
G2 icon from theSVG

G2 icon

thesvg:g2

The G2 icon (thesvg:g2) is a free SVG icon from the theSVG set by thesvg.org. It is drawn on a 24 × 24 grid. theSVG 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
Author
thesvg.org
License
MIT
Size
24 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M12 0a12 12 0 1 0 0 24a12 12 0 0 0 0-24m.122 5.143c.45 0 .9.044 1.342.132l-1.342 2.806C9.962 8.08 8.203 9.84 8.203 12s1.76 3.92 3.92 3.92c.937 0 1.844-.338 2.553-.951l1.483 2.572A6.856 6.856 0 0 1 5.266 12a6.856 6.856 0 0 1 6.856-6.856Zm3.498.49h.026q.639 0 1.101.34q.465.345.466.946c0 .639-.36 1.03-1.035 1.376l-.377.191c-.403.204-.602.385-.657.706h2.05v.85h-3.101v-.144q-.001-.788.314-1.306q.315-.517 1.102-.917l.242-.117c.427-.216.538-.401.538-.625c0-.266-.228-.458-.6-.458c-.44 0-.773.228-1.004.694l-.592-.595q.196-.417.619-.675a1.7 1.7 0 0 1 .908-.266m-2.094 5.388h3.394l1.697 2.937l-1.697 2.94l-1.697-2.94H11.83z"/></svg>

How to use the G2 icon

React

import { Icon } from "@iconify/react";

<Icon icon="thesvg:g2" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="thesvg:g2" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="thesvg:g2" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[thesvg--g2]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/thesvg -->
<div class="i-thesvg:g2"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="thesvg:g2"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/thesvg/g2.svg" alt="G2 icon" width="24" height="24">

Related icons in theSVG

G2 icon in other icon sets

G2 icon FAQ

Is the G2 icon free for commercial use?

Yes. theSVG icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the G2 icon in React?

Install @iconify/react and render <Icon icon="thesvg:g2" />, or use “Copy code” on this page to get a standalone React component.

How do I add the G2 icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/thesvg/g2.svg" alt="G2 icon">, or paste the SVG code inline to style it with CSS.

Browse all theSVG icons →