Infinity icon
gg:infinity
The Infinity icon (gg:infinity) is a free SVG icon from the css.gg set by Astrit. It is drawn on a 24 × 24 grid. css.gg 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.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="m8.121 9.879l2.083 2.083l.007-.006l1.452 1.452l.006.006l2.122 2.122a5 5 0 1 0 0-7.072l-.714.714l1.415 1.414l.713-.713a3 3 0 1 1 0 4.242l-2.072-2.072l-.007.006l-3.59-3.59a5 5 0 1 0 0 7.07l.713-.713l-1.414-1.414l-.714.713a3 3 0 1 1 0-4.242"/></svg>How to use the Infinity icon
React
import { Icon } from "@iconify/react";
<Icon icon="gg:infinity" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="gg:infinity" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="gg:infinity" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[gg--infinity]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/gg -->
<div class="i-gg:infinity"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="gg:infinity"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/gg/infinity.svg" alt="Infinity icon" width="24" height="24">Infinity icon in other icon sets
Infinity icon FAQ
Is the Infinity icon free for commercial use?
Yes. css.gg icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Infinity icon in React?
Install @iconify/react and render <Icon icon="gg:infinity" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Infinity icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/gg/infinity.svg" alt="Infinity icon">, or paste the SVG code inline to style it with CSS.