# Barn icon — Nodo Icons

- Name: `barn`
- Category: location
- Tags: farm, farmhouse, ranch, stable
- Free style: Linear (MIT). Pro styles: Light, Bold, Sharp, Twotone, Duotone, Bulk, Solid, Contained, Soft.
- Page: https://nodoicons.com/icons/barn/
- SVG (Linear): https://nodoicons.com/svg/linear/barn.svg

## React

```jsx
import { BarnIcon } from '@nodo-icons/react';

<BarnIcon size={24} />
```

## Vue

```vue
<script setup>
import { BarnIcon } from '@nodo-icons/vue';
</script>

<template><BarnIcon :size="24" /></template>
```

## SVG (Linear)

```svg
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M3.5 20.5L3.5 10.78A1 1 0 0 1 3.64 10.26L6.34 5.77A1 1 0 0 1 6.78 5.37L11.59 3.19A1 1 0 0 1 12.41 3.19L17.22 5.37A1 1 0 0 1 17.66 5.77L20.36 10.26A1 1 0 0 1 20.5 10.78L20.5 20.5L3.5 20.5Z"/><path d="M8.5 20.5V13h7v7.5"/><path d="M8.5 13l7 7.5M15.5 13l-7 7.5"/><rect x="10.25" y="7" width="3.5" height="3" rx="0.75"/></svg>
```

## Pro styles

With Nodo Icons Pro: `import { BarnIcon } from '@nodo-icons/react-pro/<style>'`, where `<style>` is one of light, bold, sharp, twotone, duotone, bulk, solid, contained, soft. The Pro packages install from the Nodo Icons registry with your license key: https://nodoicons.com/docs/#nodo-icons-pro-in-react-and-vue. Pricing: https://nodoicons.com/#pricing

## Related icons

- [silo](https://nodoicons.com/icons/silo/index.md)
- [airport](https://nodoicons.com/icons/airport/index.md)
- [amphitheater](https://nodoicons.com/icons/amphitheater/index.md)
- [aquarium](https://nodoicons.com/icons/aquarium/index.md)
- [aqueduct](https://nodoicons.com/icons/aqueduct/index.md)
- [arch](https://nodoicons.com/icons/arch/index.md)
- [boundary](https://nodoicons.com/icons/boundary/index.md)
- [bridge](https://nodoicons.com/icons/bridge/index.md)
- [bus-station](https://nodoicons.com/icons/bus-station/index.md)
- [cabin](https://nodoicons.com/icons/cabin/index.md)
- [capital-city](https://nodoicons.com/icons/capital-city/index.md)
- [castle](https://nodoicons.com/icons/castle/index.md)
