Cogs icon
la:cogs
The Cogs icon (la:cogs) is a free SVG icon from the Line Awesome set by Icons8. It is drawn on a 32 × 32 grid. Line Awesome icons are released under the Apache 2.0 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
- Line Awesome
- Author
- Icons8
- License
- Apache-2.0
- Size
- 32 × 32
- Category
- Objects
- Tags
- cog, cogs solid
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path fill="currentColor" d="M15 4v1.125c-.66.129-1.3.355-1.844.719l-.781-.782l-1.438 1.407l.813.812A5 5 0 0 0 11.031 9H10v2h1.031a5 5 0 0 0 .719 1.719l-.813.812l1.438 1.406l.781-.78c.543.363 1.184.59 1.844.718V16h2v-1.125c.61-.133 1.184-.352 1.688-.688l.75.75l1.406-1.406l-.75-.75c.36-.531.617-1.133.75-1.781H22V9h-1.156a4.9 4.9 0 0 0-.75-1.781l.75-.75l-1.407-1.407l-.75.75c-.503-.335-1.078-.554-1.687-.687V4zm.938 3c1.667 0 3 1.332 3 3s-1.333 3-3 3s-3-1.332-3-3s1.332-3 3-3M8 16v1.094a4.9 4.9 0 0 0-1.844.75l-.781-.782l-1.438 1.407l.813.812A5 5 0 0 0 4.031 21H3v2h1.031c.13.625.38 1.2.719 1.719l-.813.812l1.438 1.407l.781-.782a4.9 4.9 0 0 0 1.844.75V28h2v-1.125c.61-.133 1.184-.352 1.688-.688l.75.75l1.406-1.406l-.75-.75a5 5 0 0 0 .75-1.75L15.03 23l-.062-2l-1.125.031a4.9 4.9 0 0 0-.75-1.812l.75-.75l-1.406-1.407l-.75.75c-.504-.335-1.079-.554-1.688-.687V16zm14 0v1.125c-.66.129-1.3.355-1.844.719l-.781-.782l-1.438 1.407l.813.812A5 5 0 0 0 18.031 21H17v2h1.031a5 5 0 0 0 .719 1.719l-.813.812l1.438 1.407l.781-.782c.543.364 1.184.59 1.844.719V28h2v-1.125a4.9 4.9 0 0 0 1.656-.719l.782.782l1.406-1.407l-.75-.75a4.9 4.9 0 0 0 .75-1.75L29.03 23l-.062-2l-1.125.031c-.13-.652-.422-1.246-.782-1.781l.782-.781l-1.407-1.407l-.78.782A5 5 0 0 0 24 17.156V16zM8.937 19c1.668 0 3 1.332 3 3s-1.332 3-3 3s-3-1.332-3-3s1.333-3 3-3m14 0c1.668 0 3 1.332 3 3s-1.332 3-3 3s-3-1.332-3-3s1.333-3 3-3"/></svg>How to use the Cogs icon
React
import { Icon } from "@iconify/react";
<Icon icon="la:cogs" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="la:cogs" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="la:cogs" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[la--cogs]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/la -->
<div class="i-la:cogs"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="la:cogs"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/la/cogs.svg" alt="Cogs icon" width="24" height="24">Cogs icon in other icon sets
Cogs icon FAQ
Is the Cogs icon free for commercial use?
Yes. Line Awesome icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.
How do I use the Cogs icon in React?
Install @iconify/react and render <Icon icon="la:cogs" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Cogs icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/la/cogs.svg" alt="Cogs icon">, or paste the SVG code inline to style it with CSS.