Barn Bold icon
ph:barn-bold
The Barn Bold icon (ph:barn-bold) is a free SVG icon from the Phosphor set by Phosphor Icons. It is drawn on a 256 × 256 grid. Phosphor 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
- Phosphor
- Author
- Phosphor Icons
- License
- MIT
- Size
- 256 × 256
- Tags
- animals, livestock, buildings, farming, agriculture, barnbold
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 256 256"><path fill="currentColor" d="M100 84a12 12 0 0 1 12-12h32a12 12 0 0 1 0 24h-32a12 12 0 0 1-12-12m152 116a12 12 0 0 1-12 12H16a12 12 0 0 1 0-24h4v-48.69A12 12 0 0 1 6.24 121l40-56a11.9 11.9 0 0 1 2.94-2.9l67.56-46.65l.17-.11a19.94 19.94 0 0 1 22.18 0l.17.11l67.56 46.65a11.9 11.9 0 0 1 2.94 2.9l40 56A12 12 0 0 1 236 139.31V188h4a12 12 0 0 1 12 12M44 188h20v-64a12 12 0 0 1 12-12h104a12 12 0 0 1 12 12v64h20v-78.55l-20.55-28.76L128 36.87L64.55 80.69L44 109.45Zm124-52h-54.1l54.1 38.07Zm-80 52h58.1L88 147.12Z"/></svg>How to use the Barn Bold icon
React
import { Icon } from "@iconify/react";
<Icon icon="ph:barn-bold" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="ph:barn-bold" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="ph:barn-bold" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[ph--barn-bold]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/ph -->
<div class="i-ph:barn-bold"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="ph:barn-bold"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/ph/barn-bold.svg" alt="Barn Bold icon" width="24" height="24">Related icons in Phosphor
Barn Bold icon FAQ
Is the Barn Bold icon free for commercial use?
Yes. Phosphor icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Barn Bold icon in React?
Install @iconify/react and render <Icon icon="ph:barn-bold" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Barn Bold icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/ph/barn-bold.svg" alt="Barn Bold icon">, or paste the SVG code inline to style it with CSS.