ICONYZ
English
Barn Light icon from Phosphor

Barn Light icon

ph:barn-light

The Barn Light icon (ph:barn-light) 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, barnlight
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 194h-10v-69.68l5.12 7.17a6 6 0 1 0 9.76-7l-40-56a6.1 6.1 0 0 0-1.47-1.45l-67.64-46.69a14 14 0 0 0-15.62.06L52.59 67.06a6.1 6.1 0 0 0-1.47 1.45l-40 56a6 6 0 1 0 9.76 7l5.12-7.19V194H16a6 6 0 0 0 0 12h224a6 6 0 0 0 0-12M38 107.52l22.27-31.18l66.62-46a2 2 0 0 1 2.14-.06l66.7 46.06L218 107.52V194h-28v-74a6 6 0 0 0-6-6H72a6 6 0 0 0-6 6v74H38Zm90 45.11L90.72 126h74.56Zm50-21v56.68L138.32 160ZM117.68 160L78 188.34v-56.68Zm10.32 7.37L165.28 194H90.72ZM106 88a6 6 0 0 1 6-6h32a6 6 0 0 1 0 12h-32a6 6 0 0 1-6-6"/></svg>

How to use the Barn Light icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Related icons in Phosphor

Barn Light icon FAQ

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

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

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

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

Browse all Phosphor icons →