Cog icon
zondicons:cog
The Cog icon (zondicons:cog) is a free SVG icon from the Zondicons set by Steve Schoger. It is drawn on a 20 × 20 grid. Zondicons 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
- Zondicons
- Author
- Steve Schoger
- License
- MIT
- Size
- 20 × 20
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="currentColor" d="M3.94 6.5L2.22 3.64l1.42-1.42L6.5 3.94c.52-.3 1.1-.54 1.7-.7L9 0h2l.8 3.24c.6.16 1.18.4 1.7.7l2.86-1.72l1.42 1.42l-1.72 2.86c.3.52.54 1.1.7 1.7L20 9v2l-3.24.8c-.16.6-.4 1.18-.7 1.7l1.72 2.86l-1.42 1.42l-2.86-1.72c-.52.3-1.1.54-1.7.7L11 20H9l-.8-3.24c-.6-.16-1.18-.4-1.7-.7l-2.86 1.72l-1.42-1.42l1.72-2.86c-.3-.52-.54-1.1-.7-1.7L0 11V9l3.24-.8c.16-.6.4-1.18.7-1.7M10 13a3 3 0 1 0 0-6a3 3 0 0 0 0 6"/></svg>How to use the Cog icon
React
import { Icon } from "@iconify/react";
<Icon icon="zondicons:cog" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="zondicons:cog" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="zondicons:cog" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[zondicons--cog]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/zondicons -->
<div class="i-zondicons:cog"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="zondicons:cog"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/zondicons/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. Zondicons are released under the MIT 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="zondicons: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/zondicons/cog.svg" alt="Cog icon">, or paste the SVG code inline to style it with CSS.