Barn 48 Bold icon
energy-icons:barn-48-bold
The Barn 48 Bold icon (energy-icons:barn-48-bold) 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
- Tags
- barnbold
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path fill="currentColor" d="M23.575 2.824a1.25 1.25 0 0 1 .984.058l12 6c.212.106.391.27.513.475l6 10c.117.194.178.416.178.643v22c0 .69-.56 1.25-1.25 1.25H6c-.69 0-1.25-.56-1.25-1.25V20c0-.227.061-.45.178-.643l6-10c.122-.204.3-.369.513-.475l12-6zm-10.69 8.13L7.25 20.347V40.75h33.5V20.347l-5.636-9.393L24 5.398z"/><path fill="currentColor" d="M32 24.75c.69 0 1.25.56 1.25 1.25v16h-2.5V27.25h-13.5V42h-2.5V26c0-.69.56-1.25 1.25-1.25z"/><path fill="currentColor" d="m32.884 41.116l-1.768 1.768l-16-16l1.768-1.768z"/><path fill="currentColor" d="m32.884 26.884l-16 16l-1.768-1.768l16-16zM22.25 17.75h3.5v-3.5h-3.5zm6 .25A2.25 2.25 0 0 1 26 20.25h-4A2.25 2.25 0 0 1 19.75 18v-4A2.25 2.25 0 0 1 22 11.75h4A2.25 2.25 0 0 1 28.25 14z"/></svg>How to use the Barn 48 Bold icon
React
import { Icon } from "@iconify/react";
<Icon icon="energy-icons:barn-48-bold" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="energy-icons:barn-48-bold" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="energy-icons:barn-48-bold" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[energy-icons--barn-48-bold]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/energy-icons -->
<div class="i-energy-icons:barn-48-bold"></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-bold"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/energy-icons/barn-48-bold.svg" alt="Barn 48 Bold icon" width="24" height="24">Related icons in Energy Icons
Barn 48 Bold icon FAQ
Is the Barn 48 Bold 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 Bold icon in React?
Install @iconify/react and render <Icon icon="energy-icons:barn-48-bold" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Barn 48 Bold 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-bold.svg" alt="Barn 48 Bold icon">, or paste the SVG code inline to style it with CSS.