Gear icon
rivet-icons:gear
The Gear icon (rivet-icons:gear) is a free SVG icon from the Rivet Icons set by Indiana University. It is drawn on a 24 × 24 grid. Rivet Icons are released under the BSD 3-Clause 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
- Rivet Icons
- Author
- Indiana University
- License
- BSD-3-Clause
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="currentColor"><path d="M8 10a2 2 0 1 0 0-4a2 2 0 0 0 0 4"/><path d="M5 1.5A1.5 1.5 0 0 1 6.5 0h3A1.5 1.5 0 0 1 11 1.5v1.304l1.13-.652a1.5 1.5 0 0 1 2.048.549l1.5 2.598a1.5 1.5 0 0 1-.549 2.05L14 8l1.13.652a1.5 1.5 0 0 1 .548 2.049l-1.5 2.598a1.5 1.5 0 0 1-2.049.55L11 13.195V14.5A1.5 1.5 0 0 1 9.5 16h-3A1.5 1.5 0 0 1 5 14.5v-1.304l-1.13.652a1.5 1.5 0 0 1-2.048-.549l-1.5-2.598a1.5 1.5 0 0 1 .549-2.05L2 8L.87 7.348A1.5 1.5 0 0 1 .323 5.3l1.5-2.598a1.5 1.5 0 0 1 2.049-.55L5 2.805zM7 2v1.67q-.001.255-.076.476a4 4 0 0 0-1.722.996a1.5 1.5 0 0 1-.452-.173l-1.446-.835l-1 1.732l1.446.835c.146.084.271.188.375.304a4 4 0 0 0 0 1.99q-.156.176-.375.304l-1.446.835l1 1.732l1.446-.835a1.5 1.5 0 0 1 .452-.173a4 4 0 0 0 1.722.996q.075.222.076.476V14h2v-1.67q.001-.255.076-.476a4 4 0 0 0 1.722-.996q.23.047.452.173l1.446.835l1-1.732l-1.446-.835a1.5 1.5 0 0 1-.375-.304a4 4 0 0 0 0-1.99c.104-.116.229-.22.375-.304l1.446-.835l-1-1.732l-1.446.835a1.5 1.5 0 0 1-.452.173a4 4 0 0 0-1.722-.996A1.5 1.5 0 0 1 9 3.67V2z"/></g></svg>How to use the Gear icon
React
import { Icon } from "@iconify/react";
<Icon icon="rivet-icons:gear" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="rivet-icons:gear" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="rivet-icons:gear" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[rivet-icons--gear]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/rivet-icons -->
<div class="i-rivet-icons:gear"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="rivet-icons:gear"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/rivet-icons/gear.svg" alt="Gear icon" width="24" height="24">Related icons in Rivet Icons
Gear icon in other icon sets
Gear icon FAQ
Is the Gear icon free for commercial use?
Yes. Rivet Icons are released under the BSD 3-Clause 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="rivet-icons: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/rivet-icons/gear.svg" alt="Gear icon">, or paste the SVG code inline to style it with CSS.