Gear icon
boxicons:gear
The Gear icon (boxicons:gear) is a free SVG icon from the Boxicons set. It is drawn on a 24 × 24 grid. Boxicons 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.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M22 12.5v-1h-1.03c-.04-.78-.18-1.54-.41-2.26l.95-.37l-.36-.93l-.95.37c-.38-.85-.89-1.62-1.5-2.3l.73-.73l-.71-.71l-.73.73c-.57-.51-1.2-.95-1.89-1.3l.42-.93l-.91-.41l-.42.94a8.9 8.9 0 0 0-2.69-.57V2h-1v1.03c-.78.04-1.54.18-2.26.41l-.37-.95l-.93.36l.37.95c-.85.38-1.62.89-2.3 1.5l-.73-.73l-.71.71l.73.73c-.51.57-.95 1.2-1.3 1.89l-.93-.42l-.41.91l.94.42a8.9 8.9 0 0 0-.57 2.69H2v1h1.03c.04.78.18 1.54.41 2.26l-.95.37l.36.93l.95-.37c.38.85.89 1.62 1.5 2.3l-.73.73l.71.71l.73-.73c.57.51 1.2.95 1.89 1.3l-.42.93l.91.41l.42-.94a8.9 8.9 0 0 0 2.69.57V22h1v-1.03c.78-.04 1.54-.18 2.26-.41l.37.95l.93-.36l-.37-.95c.85-.38 1.62-.89 2.3-1.5l.73.73l.71-.71l-.73-.73c.51-.57.95-1.2 1.3-1.89l.93.42l.41-.91l-.94-.42a8.9 8.9 0 0 0 .57-2.69zM12 5c3.1 0 5.72 2.02 6.65 4.81l-4.05.71c-.52-.91-1.48-1.53-2.6-1.53c-.37 0-.72.08-1.05.2L8.31 6.05a6.9 6.9 0 0 1 3.68-1.06Zm1 7c0 .55-.45 1-1 1s-1-.45-1-1s.45-1 1-1s1 .45 1 1m-4.31 6.17a6.99 6.99 0 0 1-1.9-10.83l2.64 3.14c-.26.45-.42.96-.42 1.51c0 .93.43 1.75 1.1 2.3L8.7 18.15ZM12 19c-.49 0-.97-.05-1.43-.15l1.4-3.85H12a2.99 2.99 0 0 0 2.95-2.5l4.04-.71c0 .07.01.14.01.22c0 3.86-3.14 7-7 7Z"/></svg>How to use the Gear icon
React
import { Icon } from "@iconify/react";
<Icon icon="boxicons:gear" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="boxicons:gear" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="boxicons:gear" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[boxicons--gear]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/boxicons -->
<div class="i-boxicons:gear"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="boxicons:gear"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/boxicons/gear.svg" alt="Gear icon" width="24" height="24">Related icons in Boxicons
Gear icon in other icon sets
Gear icon FAQ
Is the Gear icon free for commercial use?
Yes. Boxicons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Gear icon in React?
Install @iconify/react and render <Icon icon="boxicons:gear" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Gear icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/boxicons/gear.svg" alt="Gear icon">, or paste the SVG code inline to style it with CSS.