ICONYZ
English
Barracks icon from Game Icons

Barracks icon

game-icons:barracks

The Barracks icon (game-icons:barracks) 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
Tags
barrack
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="M127.596 26.436C111.219 26.126 90.368 38.184 78 32v64c16.008 8.004 48.437-15.563 64 0c16 16 40.004 7.996 48 0V32c-7.755 7.755-32 16-48 0c-3.985-3.985-8.946-5.462-14.404-5.564M39 32v254.373c5.412-12.05 11.43-23.452 18-34.172V32zm217 121C135.23 153 28.575 256.151 25.162 439H208V336c0-32 96-32 96 0v103h182.838C483.425 256.151 376.769 153 256 153m0 26.938l36.025 18.011l-8.05 16.102L256 200.063l-27.975 13.988l-8.05-16.102zm0 38l36.025 18.011l-8.05 16.102L256 238.063l-27.975 13.988l-8.05-16.102zm0 38l36.025 18.011l-8.05 16.102L256 276.063l-27.975 13.988l-8.05-16.102zM80 336h96v48H80zm256 0h96v48h-96zm-80 39v18h32v-18zM25 457v16h158v-16zm176 0v16h110v-16zm128 0v16h158v-16z"/></svg>

How to use the Barracks icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Related icons in Game Icons

Barracks icon FAQ

Is the Barracks 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 Barracks icon in React?

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

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

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

Browse all Game Icons →