ICONYZ
English
Barn Thin icon from Phosphor

Barn Thin icon

ph:barn-thin

The Barn Thin icon (ph:barn-thin) 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, barnthin
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 256 256"><path fill="currentColor" d="M240 196h-12v-77.92l8.74 12.25A4 4 0 0 0 240 132a4 4 0 0 0 3.25-6.32l-40-56a3.8 3.8 0 0 0-1-1L134.66 22a12 12 0 0 0-13.37 0L53.73 68.71a3.8 3.8 0 0 0-1 1l-40 56a4 4 0 1 0 6.51 4.65L28 118.08V196H16a4 4 0 0 0 0 8h224a4 4 0 0 0 0-8M36 106.88l22.85-32l66.93-46.23a4 4 0 0 1 4.38 0l67 46.26l22.85 32V196H188v-76a4 4 0 0 0-4-4H72a4 4 0 0 0-4 4v76H36Zm92 48.2L84.48 124h87Zm52-27.31v64.46L134.88 160ZM121.12 160L76 192.23v-64.46Zm6.88 4.92L171.52 196h-87ZM108 88a4 4 0 0 1 4-4h32a4 4 0 0 1 0 8h-32a4 4 0 0 1-4-4"/></svg>

How to use the Barn Thin icon

React

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

<Icon icon="ph:barn-thin" width="24" />

Vue

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

<template>
  <Icon icon="ph:barn-thin" width="24" />
</template>

Svelte

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

<Icon icon="ph:barn-thin" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[ph--barn-thin]"></span>

UnoCSS

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

Web component

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

<iconify-icon icon="ph:barn-thin"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/ph/barn-thin.svg" alt="Barn Thin icon" width="24" height="24">

Related icons in Phosphor

Barn Thin icon FAQ

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

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

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

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

Browse all Phosphor icons →