ICONYZ
English
Barn 48 icon from Energy Icons

Barn 48 icon

energy-icons:barn-48

The Barn 48 icon (energy-icons:barn-48) is a free SVG icon from the Energy Icons set by Sam Passmore. It is drawn on a 48 × 48 grid. Energy Icons 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.

Icon set
Energy Icons
Author
Sam Passmore
License
MIT
Size
48 × 48
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path fill="currentColor" d="M23.66 3.06a1 1 0 0 1 .787.045l12 6l.122.073a1 1 0 0 1 .288.307l6 10A1 1 0 0 1 43 20v22a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V20a1 1 0 0 1 .143-.515l6-10l.08-.116a1 1 0 0 1 .33-.264l12-6zm-10.953 7.704L7 20.276V41h34V20.276l-5.708-9.512L24 5.118z"/><path fill="currentColor" d="M32 25a1 1 0 0 1 1 1v16h-2V27H17v15h-2V26a1 1 0 0 1 1-1z"/><path fill="currentColor" d="m32.707 41.293l-1.414 1.414l-16-16l1.414-1.414z"/><path fill="currentColor" d="m32.707 26.707l-16 16l-1.414-1.414l16-16zM22 14v4h4v-4zm6 4a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2z"/></svg>

How to use the Barn 48 icon

React

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

<Icon icon="energy-icons:barn-48" width="24" />

Vue

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

<template>
  <Icon icon="energy-icons:barn-48" width="24" />
</template>

Svelte

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

<Icon icon="energy-icons:barn-48" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[energy-icons--barn-48]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/energy-icons -->
<div class="i-energy-icons:barn-48"></div>

Web component

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

<iconify-icon icon="energy-icons:barn-48"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/energy-icons/barn-48.svg" alt="Barn 48 icon" width="24" height="24">

Related icons in Energy Icons

Barn 48 icon FAQ

Is the Barn 48 icon free for commercial use?

Yes. Energy Icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Barn 48 icon in React?

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

How do I add the Barn 48 icon to a web page?

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

Browse all Energy Icons →