Fence icon

Fence is a Google Material Symbol from the Household category. It comes in outlined, rounded and sharp styles, filled or unfilled, at seven weights from 100 to 700. Download it as SVG or PNG, or copy code for HTML, React, Vue, Angular, Flutter and Android — it's free to use under the Apache License 2.0.

Outlined

SVG

Outlined, filled

SVG

Every style, fill and weight

Material Symbols are variable: each icon comes in three styles, with or without fill, at seven weights. Pick a combination to preview it, download it, or copy the code for your platform.

Outlined, unfilled, weight 400

fence_outlined_fill0_wght400.svg

Fence icon in HTML

Load the Material Symbols font from Google Fonts (this link loads just this icon), then use the icon's name as text.

<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,[email protected],100..700,0..1,-50..200&icon_names=fence" />

<span class="material-symbols-outlined">fence</span>

Fence icon in React

// With the font from the HTML tab:
export function FenceIcon() {
  return (
    <span className="material-symbols-outlined">
      fence
    </span>
  );
}

// Or as an SVG component (Vite + vite-plugin-svgr) instead:
//   npm install @material-symbols/svg-400
//   import FenceIcon from "@material-symbols/svg-400/outlined/fence.svg?react";

Fence icon in Vue

<!-- With the font from the HTML tab -->
<template>
  <span class="material-symbols-outlined">fence</span>
</template>

<!-- Or as an SVG component (Vite + vite-svg-loader):
     npm install @material-symbols/svg-400
     import FenceIcon from "@material-symbols/svg-400/outlined/fence.svg?component"; -->

Fence icon in Angular

With Angular Material and the font from the HTML tab:

<mat-icon fontSet="material-symbols-outlined">fence</mat-icon>

Fence icon in Flutter

Uses the community material_symbols_icons package.

flutter pub add material_symbols_icons

import 'package:material_symbols_icons/symbols.dart';

Icon(Symbols.fence, fill: 0, weight: 400)

Fence icon in Android

A vector drawable of the selected style, fill and weight:

<!-- res/drawable/fence.xml -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="24dp"
    android:height="24dp"
    android:viewportWidth="24"
    android:viewportHeight="24"
    android:tint="?attr/colorControlNormal">
        <path android:fillColor="@android:color/white" android:pathData="M5.25 20v-4.25h-2.25v-1.5h2.25v-2.5h-2.25v-1.5h2.25v-3.5l2.75-2.75 2 2 2.025-2 2 2 2-2 2.75 2.75v3.5h2.225v1.5h-2.225v2.5h2.225v1.5h-2.225v4.25H5.25Zm1.5-9.75h2.5v-2.875l-1.25-1.25-1.25 1.25v2.875Zm4 0h2.5v-2.875l-1.25-1.25-1.25 1.25v2.875Zm4.025 0h2.475v-2.875l-1.25-1.25-1.225 1.225v2.9ZM6.75 14.25h2.5v-2.5H6.75v2.5Zm4 0h2.5v-2.5H10.75v2.5Zm4.025 0h2.475v-2.5h-2.475v2.5ZM6.75 18.5h2.5v-2.75H6.75v2.75Zm4 0h2.5v-2.75H10.75v2.75Zm4.025 0h2.475v-2.75h-2.475v2.75Z" />
</vector>

Fence icon in SVG

npm install @material-symbols/svg-400

import icon from "@material-symbols/svg-400/outlined/fence.svg";

<!-- or load it from a CDN -->
<img src="https://cdn.jsdelivr.net/npm/@material-symbols/[email protected]/outlined/fence.svg" width="24" height="24" alt="Fence">

Fence icon in Power Apps

Paste into an Image control's Image property. The Copy button copies the full formula with this icon's SVG.

"data:image/svg+xml;utf8, " & EncodeUrl("<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'>…</svg>")

Details

NameFence
Ligaturefence
Code pointU+F1F6
CategoryHousehold
StylesOutlined, Rounded, Sharp — each unfilled or filled
Weights100, 200, 300, 400, 500, 600, 700
Files@material-symbols/svg-400/outlined/fence.svg, fence-fill.svg
FlutterSymbols.fence
LicenseApache License 2.0 (© Google LLC)

Keywords

householdhomesecuritystructurenesthouseprotectionprivatenaturelandscapeoutdoorborderresidential

Related icons