ICONYZ
English
Infinity icon from Keyline Icons

Infinity icon

keyline-icons:infinity

The Infinity icon (keyline-icons:infinity) is a free SVG icon from the Keyline Icons set. It is drawn on a 24 × 24 grid. Keyline 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
Keyline Icons
Author
Keyline Icons
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="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15.3333 9.0186C16.0667 8.3626 17.0161 8 18 8C20.2091 8 22 9.7909 22 12C22 14.2091 20.2091 16 18 16C17.0161 16 16.0667 15.6374 15.3333 14.9814L8.6667 9.0186C7.9333 8.3626 6.9839 8 6 8C3.7909 8 2 9.7909 2 12C2 14.2091 3.7909 16 6 16C6.9839 16 7.9333 15.6374 8.6667 14.9814Z"/></svg>

How to use the Infinity icon

React

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

<Icon icon="keyline-icons:infinity" width="24" />

Vue

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

<template>
  <Icon icon="keyline-icons:infinity" width="24" />
</template>

Svelte

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

<Icon icon="keyline-icons:infinity" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[keyline-icons--infinity]"></span>

UnoCSS

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

Web component

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

<iconify-icon icon="keyline-icons:infinity"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/keyline-icons/infinity.svg" alt="Infinity icon" width="24" height="24">

Related icons in Keyline Icons

Infinity icon in other icon sets

Infinity icon FAQ

Is the Infinity icon free for commercial use?

Yes. Keyline 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="keyline-icons: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/keyline-icons/infinity.svg" alt="Infinity icon">, or paste the SVG code inline to style it with CSS.

Browse all Keyline Icons →