ICONYZ
English
Town Hall icon from Material Design Icons

Town Hall icon

mdi:town-hall

The Town Hall icon (mdi:town-hall) is a free SVG icon from the Material Design Icons set by Pictogrammers. It is drawn on a 24 × 24 grid. Material Design Icons are released under the Apache 2.0 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
Material Design Icons
Author
Pictogrammers
License
Apache-2.0
Size
24 × 24
Category
Places
Tags
school, places, townhall
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M21 10h-4V8l-4.5-1.8V4H15V2h-3.5v4.2L7 8v2H3c-.55 0-1 .45-1 1v11h8v-5h4v5h8V11c0-.55-.45-1-1-1M8 20H4v-3h4zm0-5H4v-3h4zm4-7c.55 0 1 .45 1 1s-.45 1-1 1s-1-.45-1-1s.45-1 1-1m2 7h-4v-3h4zm6 5h-4v-3h4zm0-5h-4v-3h4z"/></svg>

How to use the Town Hall icon

React

import { Icon } from "@iconify/react";

<Icon icon="mdi:town-hall" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="mdi:town-hall" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="mdi:town-hall" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[mdi--town-hall]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/mdi -->
<div class="i-mdi:town-hall"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="mdi:town-hall"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/mdi/town-hall.svg" alt="Town Hall icon" width="24" height="24">

Town Hall icon in other icon sets

Town Hall icon FAQ

Is the Town Hall icon free for commercial use?

Yes. Material Design Icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.

How do I use the Town Hall icon in React?

Install @iconify/react and render <Icon icon="mdi:town-hall" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Town Hall icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/mdi/town-hall.svg" alt="Town Hall icon">, or paste the SVG code inline to style it with CSS.

Browse all Material Design Icons →