Gun icon
fa7-solid:gun
The Gun icon (fa7-solid:gun) is a free SVG icon from the Font Awesome Solid set by Dave Gandy. It is drawn on a 640 × 640 grid. Font Awesome Solid icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Font Awesome Solid
- Author
- Dave Gandy
- License
- CC-BY-4.0
- Size
- 640 × 640
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="640" height="640" viewBox="0 0 640 640"><path fill="currentColor" d="M560 120c0-13.3-10.7-24-24-24s-24 10.7-24 24v8H64c-17.7 0-32 14.3-32 32v112c0 17.7 14.3 32 32 32h10c20.8 0 36.1 19.6 31 39.8L65 504.2c-2.4 9.6-.2 19.7 5.8 27.5S86.1 544 96 544h96c14.7 0 27.5-10 31-24.2L249 416h104.4c23.7 0 44.8-14.9 52.7-37.2l26.7-74.8h31.1c8.5 0 16.6-3.4 22.6-9.4l22.6-22.6h66.7c17.7 0 32-14.3 32-32v-80c0-17.7-14.3-32-32-32h-16v-8zM353.4 368h-92.5l16-64h105l-21 58.7c-1.1 3.2-4.2 5.3-7.5 5.3M112 192h384c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16"/></svg>How to use the Gun icon
React
import { Icon } from "@iconify/react";
<Icon icon="fa7-solid:gun" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="fa7-solid:gun" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="fa7-solid:gun" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[fa7-solid--gun]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/fa7-solid -->
<div class="i-fa7-solid:gun"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="fa7-solid:gun"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/fa7-solid/gun.svg" alt="Gun icon" width="24" height="24">Gun icon in other icon sets
Gun icon FAQ
Is the Gun icon free for commercial use?
Yes. Font Awesome Solid icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.
How do I use the Gun icon in React?
Install @iconify/react and render <Icon icon="fa7-solid:gun" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Gun icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/fa7-solid/gun.svg" alt="Gun icon">, or paste the SVG code inline to style it with CSS.