Cog 2 icon
humbleicons:cog-2
The Cog 2 icon (humbleicons:cog-2) is a free SVG icon from the Humbleicons set by Jiří Zralý. It is drawn on a 24 × 24 grid. Humbleicons 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
- Humbleicons
- Author
- Jiří Zralý
- License
- MIT
- Size
- 24 × 24
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-width="2" d="M12 3v2m0 0a7 7 0 0 0-7 7m7-7a7 7 0 0 1 7 7m0 0h2m-2 0a7 7 0 0 1-7 7m0 0v2m0-2a7 7 0 0 1-7-7m0 0H3m4.5-7.794l1 1.732M18.062 8.5l1.732-1M15.5 18.062l1 1.732M5.938 15.5l-1.732 1m0-9l1.732 1M15.5 5.938l1-1.732M18.062 15.5l1.732 1M8.5 18.062l-1 1.732M12 12L7 7.101M12 12l-1.812 6.762M12 12l6.762-1.812"/></svg>How to use the Cog 2 icon
React
import { Icon } from "@iconify/react";
<Icon icon="humbleicons:cog-2" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="humbleicons:cog-2" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="humbleicons:cog-2" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[humbleicons--cog-2]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/humbleicons -->
<div class="i-humbleicons:cog-2"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="humbleicons:cog-2"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/humbleicons/cog-2.svg" alt="Cog 2 icon" width="24" height="24">Related icons in Humbleicons
Cog 2 icon FAQ
Is the Cog 2 icon free for commercial use?
Yes. Humbleicons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Cog 2 icon in React?
Install @iconify/react and render <Icon icon="humbleicons:cog-2" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Cog 2 icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/humbleicons/cog-2.svg" alt="Cog 2 icon">, or paste the SVG code inline to style it with CSS.