Ícone Barn 20
energy-icons:barn-20
O ícone Barn 20 (energy-icons:barn-20) é um ícone SVG gratuito da coleção Energy Icons de Sam Passmore. Ele é desenhado em uma grade de 20 × 20. Energy Icons são publicados sob a licença MIT, que permite o uso em projetos pessoais e comerciais. Copie como código SVG, JSX, Vue ou Svelte, ou baixe o arquivo SVG.
- Coleção
- Energy Icons
- Autor
- Sam Passmore
- Licença
- MIT
- Tamanho
- 20 × 20
Código SVG
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="currentColor" d="M9.886 1.18a.5.5 0 0 1 .338.04l5 2.5l.06.036q.088.061.145.154l2.5 4.166a.5.5 0 0 1 .071.257V17.5a.5.5 0 0 1-.5.5h-15a.5.5 0 0 1-.5-.5V8.333a.5.5 0 0 1 .071-.257l2.5-4.166l.041-.059a.5.5 0 0 1 .164-.132l5-2.5zM5.353 4.55L3 8.47V17h14V8.47l-2.354-3.92L10 2.225z"/><path fill="currentColor" d="M13.333 10.333a.5.5 0 0 1 .5.5V17.5h-1v-6.167H7.167V17.5h-1v-6.667a.5.5 0 0 1 .5-.5z"/><path fill="currentColor" d="m13.687 17.146l-.707.707l-6.667-6.667l.708-.707z"/><path fill="currentColor" d="M13.687 11.186L7.02 17.853l-.708-.707l6.667-6.667zM9.25 7.417h1.5v-1.5h-1.5zm2.5.083c0 .506-.41.917-.917.917H9.167A.917.917 0 0 1 8.25 7.5V5.833c0-.508.412-.916.917-.916h1.666c.505 0 .917.408.917.916z"/></svg>Como usar o ícone Barn 20
React
import { Icon } from "@iconify/react";
<Icon icon="energy-icons:barn-20" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="energy-icons:barn-20" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="energy-icons:barn-20" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[energy-icons--barn-20]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/energy-icons -->
<div class="i-energy-icons:barn-20"></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-20"></iconify-icon>Imagem HTML
<img src="https://iconyz.com/api/public/svg/energy-icons/barn-20.svg" alt="Ícone Barn 20" width="24" height="24">Ícones relacionados em Energy Icons
Perguntas frequentes sobre Ícone Barn 20
O ícone Barn 20 é grátis para uso comercial?
Sim. Energy Icons são publicados sob a licença MIT, que permite o uso em projetos pessoais e comerciais.
Como uso o ícone Barn 20 no React?
Instale @iconify/react e renderize <Icon icon="energy-icons:barn-20" />, ou use “Copiar código” nesta página para obter um componente React independente.
Como adiciono o ícone Barn 20 a uma página web?
Vincule o arquivo SVG em uma tag de imagem: <img src="https://iconyz.com/api/public/svg/energy-icons/barn-20.svg" alt="Ícone Barn 20">, ou cole o código SVG diretamente na página para estilizá-lo com CSS.