Cog icon
whh:cog
The Cog icon (whh:cog) is a free SVG icon from the WebHostingHub Glyphs set by WebHostingHub. It is drawn on a 1024 × 1024 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
- 1024 × 1024
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="1024" height="1024" viewBox="0 0 1024 1024"><path fill="currentColor" d="M891 451q5 31 5 61t-5 61l129 124q5 5 3.5 15.5T1015 734l-69 107q-7 11-17 17.5t-16 5.5l-165-49q-46 35-98 55l-39 138q-2 6-13 11t-25 5H436q-14 0-24.5-5t-12.5-11l-36-142q-44-19-87-52l-164 50q-7 1-17-5.5T78 841L9 734q-7-11-8.5-21.5T4 697l129-124q-5-31-5-61t5-61L4 327q-5-5-3.5-15.5T9 290l69-107q7-11 17-17.5t17-5.5l164 50q45-36 98-56l39-138q2-6 13-11t25-5h137q14 0 25 5t12 11l36 142q45 19 87 52l165-50q7-1 16.5 5.5T946 183l69 107q7 11 8.5 21.5T1020 327zM512 320q-80 0-136 56.5t-56 136T376 648t136 56t136-56t56-135.5t-56-136T512 320"/></svg>How to use the Cog icon
React
import { Icon } from "@iconify/react";
<Icon icon="whh:cog" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="whh:cog" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="whh:cog" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[whh--cog]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/whh -->
<div class="i-whh:cog"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="whh:cog"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/whh/cog.svg" alt="Cog icon" width="24" height="24">Cog icon in other icon sets
Cog icon FAQ
Is the Cog 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 Cog icon in React?
Install @iconify/react and render <Icon icon="whh:cog" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Cog icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/whh/cog.svg" alt="Cog icon">, or paste the SVG code inline to style it with CSS.