Cog icon
at-icons:cog
The Cog icon (at-icons:cog) is a free SVG icon from the @icons set by Valentin Fossati. It is drawn on a 24 × 24 grid. @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
- @icons
- Author
- Valentin Fossati
- 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="currentColor" d="M9 3.1c.638.129 1.231.38 1.756.727l1.488-1.487l1.414 1.414L12.17 5.24c.347.524.6 1.117.73 1.754h2.105v2H12.9a5 5 0 0 1-.724 1.755l1.489 1.49l-1.414 1.413l-1.487-1.487A5 5 0 0 1 9 12.899V15H7v-2.1a5 5 0 0 1-1.759-.73L3.76 13.653L2.345 12.24l1.482-1.483a5 5 0 0 1-.727-1.76H1.005v-2H3.1c.13-.64.383-1.235.732-1.76l-1.48-1.484L3.766 2.34l1.483 1.483A5 5 0 0 1 7 3.1V1h2zM8 6a2 2 0 1 0 0 4a2 2 0 0 0 0-4"/></svg>How to use the Cog icon
React
import { Icon } from "@iconify/react";
<Icon icon="at-icons:cog" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="at-icons:cog" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="at-icons:cog" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[at-icons--cog]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/at-icons -->
<div class="i-at-icons:cog"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="at-icons:cog"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/at-icons/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. @icons 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="at-icons: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/at-icons/cog.svg" alt="Cog icon">, or paste the SVG code inline to style it with CSS.