Fence icon
andrsrxn:fence
The Fence icon (andrsrxn:fence) is a free SVG icon from the andrsrxn/icons set by Andrés Raxón. It is drawn on a 24 × 24 grid. andrsrxn/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
- andrsrxn/icons
- Author
- Andrés Raxón
- License
- MIT
- Size
- 24 × 24
- Category
- Home
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none"><path fill="currentColor" d="M4.16 7.14c0-.23 0-.34.03-.45s.07-.22.17-.42L5 4.96c.77-1.6 1.16-2.4 1.78-2.41c.63 0 1.02.8 1.81 2.39l.66 1.32c.1.21.15.31.18.43q.02.13.02.46v12.22c0 .94 0 1.41-.29 1.7c-.3.3-.76.3-1.7.3h-1.3c-.94 0-1.41 0-1.7-.3c-.3-.29-.3-.76-.3-1.7zm10.32 0c0-.23 0-.34.02-.45s.08-.22.18-.42l.63-1.31c.78-1.6 1.16-2.4 1.79-2.41c.62 0 1.02.8 1.8 2.39l.66 1.32c.1.21.16.31.18.43q.04.13.03.46v12.22c0 .94 0 1.41-.3 1.7c-.29.3-.76.3-1.7.3h-1.3c-.93 0-1.4 0-1.7-.3c-.3-.29-.3-.76-.3-1.7z" opacity=".2"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M4.16 7.14c0-.23 0-.34.03-.45s.07-.22.17-.42L5 4.96c.77-1.6 1.16-2.4 1.78-2.41c.63 0 1.02.8 1.81 2.39l.66 1.32c.1.21.15.31.18.43q.02.13.02.46v12.22c0 .94 0 1.41-.29 1.7c-.3.3-.76.3-1.7.3h-1.3c-.94 0-1.41 0-1.7-.3c-.3-.29-.3-.76-.3-1.7zm10.39 0c0-.23 0-.34.02-.45s.08-.22.17-.42l.64-1.31c.77-1.6 1.16-2.4 1.78-2.41c.63 0 1.02.8 1.81 2.39l.66 1.32c.1.21.15.31.18.43q.04.13.03.46v12.22c0 .94 0 1.41-.3 1.7c-.29.3-.76.3-1.7.3h-1.3c-.94 0-1.4 0-1.7-.3c-.3-.29-.3-.76-.3-1.7zM1.76 9.65h1.9m-1.9 6.83h1.9m16.67-6.83h1.91m-1.91 6.83h1.91M9.45 9.65h5.03m-5.03 6.83h5.03"/></g></svg>How to use the Fence icon
React
import { Icon } from "@iconify/react";
<Icon icon="andrsrxn:fence" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="andrsrxn:fence" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="andrsrxn:fence" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[andrsrxn--fence]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/andrsrxn -->
<div class="i-andrsrxn:fence"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="andrsrxn:fence"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/andrsrxn/fence.svg" alt="Fence icon" width="24" height="24">Fence icon in other icon sets
Fence icon FAQ
Is the Fence icon free for commercial use?
Yes. andrsrxn/icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Fence icon in React?
Install @iconify/react and render <Icon icon="andrsrxn:fence" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Fence icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/andrsrxn/fence.svg" alt="Fence icon">, or paste the SVG code inline to style it with CSS.