ICONYZ
English
Shotgun icon from Game Icons

Shotgun icon

game-icons:shotgun

The Shotgun icon (game-icons:shotgun) is a free SVG icon from the Game Icons set by GameIcons. It is drawn on a 512 × 512 grid. Game Icons are released under the CC BY 3.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
Game Icons
Author
GameIcons
License
CC-BY-3.0
Size
512 × 512
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><path fill="currentColor" d="M160.72 16C136 16.11 136 17.875 136 46v300c0 30 0 30 30 30h180c30 0 30 0 30-30V46c0-30 0-30-30-30H166c-1.875 0-3.633-.007-5.28 0M196 76h120v210H196zm-46.656 345A13.333 13.333 0 0 0 136 434.344v48.312A13.333 13.333 0 0 0 149.344 496h213.312A13.333 13.333 0 0 0 376 482.656v-48.312A13.333 13.333 0 0 0 362.656 421z"/></svg>

How to use the Shotgun icon

React

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

<Icon icon="game-icons:shotgun" width="24" />

Vue

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

<template>
  <Icon icon="game-icons:shotgun" width="24" />
</template>

Svelte

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

<Icon icon="game-icons:shotgun" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[game-icons--shotgun]"></span>

UnoCSS

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

Web component

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

<iconify-icon icon="game-icons:shotgun"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/game-icons/shotgun.svg" alt="Shotgun icon" width="24" height="24">

Related icons in Game Icons

Shotgun icon FAQ

Is the Shotgun icon free for commercial use?

Yes. Game Icons are released under the CC BY 3.0 license, which allows use in personal and commercial projects as long as you credit the author.

How do I use the Shotgun icon in React?

Install @iconify/react and render <Icon icon="game-icons:shotgun" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Shotgun icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/game-icons/shotgun.svg" alt="Shotgun icon">, or paste the SVG code inline to style it with CSS.

Browse all Game Icons →