Skip to content
tablericons

general

Fence icon

Download the Fence icon as free SVG or PNG. Compare outline and filled styles. Copy React, Vue or Svelte code.

  • barrier
  • garden
  • yard
  • boundary
  • farm
  • wooden-fence
  • enclosure
  • property
Style
Size
Stroke
Color
Download SVG

Press C to copy SVG, J for JSX, D to download.

Category
general
Styles
Outline, filled
Component
IconFence
License
MIT · Paweł Kuna

Code

Copy it the way you use it

fence.svg
<svg
  xmlns="http://www.w3.org/2000/svg"
  width="24"
  height="24"
  viewBox="0 0 24 24"
  fill="none"
  stroke="currentColor"
  stroke-width="2"
  stroke-linecap="round"
  stroke-linejoin="round"
 
>
  <path d="M4 12v4h16v-4l-16 0" />
  <path d="M6 16v4h4v-4m0 -4v-6l-2 -2l-2 2v6" />
  <path d="M14 16v4h4v-4m0 -4v-6l-2 -2l-2 2v6" />
</svg>

Use the Fence icon

For a decorative icon beside text, add aria-hidden="true" to the SVG. For an icon-only control, put its accessible name on the button or link.

React example
import { IconFence } from '@tabler/icons-react';

<IconFence size={24} stroke={2} />
Read the React guide
Vue example
import { IconFence } from '@tabler/icons-vue';

<IconFence :size="24" :stroke="2" />
Read the Vue guide
Svelte 5 example
import { IconFence } from '@tabler/icons-svelte-runes';

<IconFence size={24} stroke={2} />
Read the Svelte guide

Compare variants and alternatives

Related

Related icons

See all 788 general icons