gentleface

Gentleface › Buildings › fence

fence icon

Fence: fence, boundary, enclosure, fencing. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Animated fence-raise · line-round

The rails slide out and the three pickets fall flat toward us, one after another. They are stood back up in the same order, each settling upright, and the rails slide back between them.

Download SVG

Native SVG animation, with no CSS or script. It loops by itself. Inline it to take the text color: in an <img> it draws black. To play it once on hover or click, run 0.2 s to 2.75 s. Examples and helper.

Code line-round

SVG
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M2.347 2.13C2.556 2.043 2.774 2 3 2C3.226 2 3.444 2.043 3.653 2.13C3.862 2.217 4.047 2.34 4.207 2.5L4.354 2.646C4.561 2.853 4.72 3.092 4.832 3.362C4.944 3.633 5 3.914 5 4.207L5 5L6 5L6 4.207C6 3.914 6.056 3.633 6.168 3.362C6.28 3.092 6.439 2.853 6.646 2.646L6.793 2.5C6.953 2.34 7.138 2.217 7.347 2.13C7.556 2.043 7.774 2 8 2C8.226 2 8.444 2.043 8.653 2.13C8.862 2.217 9.047 2.34 9.207 2.5L9.354 2.646C9.561 2.853 9.72 3.092 9.832 3.362C9.944 3.633 10 3.914 10 4.207L10 5L11 5L11 4.207C11 3.914 11.056 3.633 11.168 3.362C11.28 3.092 11.439 2.853 11.646 2.646L11.793 2.5C11.953 2.34 12.138 2.217 12.347 2.13C12.556 2.043 12.774 2 13 2C13.226 2 13.444 2.043 13.653 2.13C13.862 2.217 14.047 2.34 14.207 2.5L14.354 2.646C14.561 2.853 14.72 3.092 14.832 3.362C14.944 3.633 15 3.914 15 4.207L15 13.5C15 13.641 14.952 13.759 14.856 13.856C14.759 13.952 14.641 14 14.5 14L11.5 14C11.359 14 11.241 13.952 11.144 13.856C11.048 13.759 11 13.641 11 13.5L11 11L10 11L10 13.5C10 13.641 9.952 13.759 9.856 13.856C9.759 13.952 9.641 14 9.5 14L6.5 14C6.359 14 6.241 13.952 6.144 13.856C6.048 13.759 6 13.641 6 13.5L6 11L5 11L5 13.5C5 13.641 4.952 13.759 4.856 13.856C4.759 13.952 4.641 14 4.5 14L1.5 14C1.359 14 1.241 13.952 1.144 13.856C1.048 13.759 1 13.641 1 13.5L1 4.207C1 3.914 1.056 3.633 1.168 3.362C1.28 3.092 1.439 2.853 1.646 2.646L1.793 2.5C1.953 2.34 2.138 2.217 2.347 2.13ZM3.646 3.354L3.5 3.207C3.362 3.069 3.195 3 3 3C2.805 3 2.638 3.069 2.5 3.207L2.354 3.354C2.118 3.589 2 3.874 2 4.207L2 13L4 13L4 4.207C4 3.874 3.882 3.589 3.646 3.354ZM9 4.207C9 3.874 8.882 3.589 8.646 3.354L8.5 3.207C8.362 3.069 8.195 3 8 3C7.805 3 7.638 3.069 7.5 3.207L7.354 3.354C7.118 3.589 7 3.874 7 4.207L7 13L9 13L9 4.207ZM13.646 3.354L13.5 3.207C13.362 3.069 13.195 3 13 3C12.805 3 12.638 3.069 12.5 3.207L12.354 3.354C12.118 3.589 12 3.874 12 4.207L12 13L14 13L14 4.207C14 3.874 13.882 3.589 13.646 3.354ZM6 10L6 6L5 6L5 10L6 10ZM11 10L11 6L10 6L10 10L11 10Z"/></svg>
React
// Gentleface "fence" (line-round), MIT. https://gentleface.com/icons/fence
import type { SVGProps } from 'react';

export function FenceIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M2.347 2.13C2.556 2.043 2.774 2 3 2C3.226 2 3.444 2.043 3.653 2.13C3.862 2.217 4.047 2.34 4.207 2.5L4.354 2.646C4.561 2.853 4.72 3.092 4.832 3.362C4.944 3.633 5 3.914 5 4.207L5 5L6 5L6 4.207C6 3.914 6.056 3.633 6.168 3.362C6.28 3.092 6.439 2.853 6.646 2.646L6.793 2.5C6.953 2.34 7.138 2.217 7.347 2.13C7.556 2.043 7.774 2 8 2C8.226 2 8.444 2.043 8.653 2.13C8.862 2.217 9.047 2.34 9.207 2.5L9.354 2.646C9.561 2.853 9.72 3.092 9.832 3.362C9.944 3.633 10 3.914 10 4.207L10 5L11 5L11 4.207C11 3.914 11.056 3.633 11.168 3.362C11.28 3.092 11.439 2.853 11.646 2.646L11.793 2.5C11.953 2.34 12.138 2.217 12.347 2.13C12.556 2.043 12.774 2 13 2C13.226 2 13.444 2.043 13.653 2.13C13.862 2.217 14.047 2.34 14.207 2.5L14.354 2.646C14.561 2.853 14.72 3.092 14.832 3.362C14.944 3.633 15 3.914 15 4.207L15 13.5C15 13.641 14.952 13.759 14.856 13.856C14.759 13.952 14.641 14 14.5 14L11.5 14C11.359 14 11.241 13.952 11.144 13.856C11.048 13.759 11 13.641 11 13.5L11 11L10 11L10 13.5C10 13.641 9.952 13.759 9.856 13.856C9.759 13.952 9.641 14 9.5 14L6.5 14C6.359 14 6.241 13.952 6.144 13.856C6.048 13.759 6 13.641 6 13.5L6 11L5 11L5 13.5C5 13.641 4.952 13.759 4.856 13.856C4.759 13.952 4.641 14 4.5 14L1.5 14C1.359 14 1.241 13.952 1.144 13.856C1.048 13.759 1 13.641 1 13.5L1 4.207C1 3.914 1.056 3.633 1.168 3.362C1.28 3.092 1.439 2.853 1.646 2.646L1.793 2.5C1.953 2.34 2.138 2.217 2.347 2.13ZM3.646 3.354L3.5 3.207C3.362 3.069 3.195 3 3 3C2.805 3 2.638 3.069 2.5 3.207L2.354 3.354C2.118 3.589 2 3.874 2 4.207L2 13L4 13L4 4.207C4 3.874 3.882 3.589 3.646 3.354ZM9 4.207C9 3.874 8.882 3.589 8.646 3.354L8.5 3.207C8.362 3.069 8.195 3 8 3C7.805 3 7.638 3.069 7.5 3.207L7.354 3.354C7.118 3.589 7 3.874 7 4.207L7 13L9 13L9 4.207ZM13.646 3.354L13.5 3.207C13.362 3.069 13.195 3 13 3C12.805 3 12.638 3.069 12.5 3.207L12.354 3.354C12.118 3.589 12 3.874 12 4.207L12 13L14 13L14 4.207C14 3.874 13.882 3.589 13.646 3.354ZM6 10L6 6L5 6L5 10L6 10ZM11 10L11 6L10 6L10 10L11 10Z" />
    </svg>
  );
}
Vue
Vue: see /icons/fence.md
Svelte
Svelte: see /icons/fence.md
HTML img
HTML img: see /icons/fence.md
CSS
CSS: see /icons/fence.md
Data URL
Data URL: see /icons/fence.md
Sprite
Sprite: see /icons/fence.md
SwiftUI
SwiftUI: see /icons/fence.md
Compose
Compose: see /icons/fence.md
Android XML
Android XML: see /icons/fence.md
Flutter
Flutter: see /icons/fence.md

Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.

With npm: import { FenceIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
fence, boundary, enclosure, fencing
Alternatives
  • map-pin-radius: a geofence or service area
  • land-plot: a plot or lot area
Also fits
  • land plot: a boundary or enclosure
Tags
fence, boundary, enclosure, picket-fence, yard, garden, barrier, perimeter
Category
Buildings
Component name
FenceIcon
History
  • added, released in 0.1.0
  • 20 px drawn, 24 px drawn
  • 20 px redrawn
Since
version 0.1.0

More buildings icons

For agents

Metadata: /icons/fence.json · Markdown: /icons/fence.md · SVG: https://gentleface.com/svg/{style}/16/fence.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/fence.png