ICONYZ
English
Cog icon from Huge Icons

Cog icon

hugeicons:cog

The Cog icon (hugeicons:cog) is a free SVG icon from the Huge Icons set by Hugeicons. It is drawn on a 24 × 24 grid. Huge 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
Huge Icons
Author
Hugeicons
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"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"><path d="M19.995 12a8 8 0 1 0-16 0a8 8 0 0 0 16 0"/><path d="M13.995 12a2 2 0 1 0-4 0a2 2 0 0 0 4 0m-2-8V2m0 18v2m4-16.93l1-1.733m-10 17.32l4.002-6.932m7.929-5.73l1.732-1m-15.589 9l-1.732 1m18.663-5h-8.005m-9.995 0H2m16.93 4l1.733 1m-15.589-9l-1.732-1m12.662 11.93l1 1.733m-10-17.32l3.924 6.805"/></g></svg>

How to use the Cog icon

React

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

<Icon icon="hugeicons:cog" width="24" />

Vue

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

<template>
  <Icon icon="hugeicons:cog" width="24" />
</template>

Svelte

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

<Icon icon="hugeicons:cog" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[hugeicons--cog]"></span>

UnoCSS

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

Web component

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

<iconify-icon icon="hugeicons:cog"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/hugeicons/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. Huge 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="hugeicons: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/hugeicons/cog.svg" alt="Cog icon">, or paste the SVG code inline to style it with CSS.

Browse all Huge Icons →