ICONYZ
English
Town icon from Maki

Town icon

maki:town

The Town icon (maki:town) is a free SVG icon from the Maki set by Mapbox. It is drawn on a 15 × 15 grid. Maki icons are released under the CC0 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
Maki
Author
Mapbox
License
CC0-1.0
Size
15 × 15
Tags
town 15
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><path fill="currentColor" d="M10.651 6.121a.25.25 0 0 0-.314 0L8.092 7.929A.25.25 0 0 0 8 8.122v4.625a.253.253 0 0 0 .253.253h1.494a.253.253 0 0 0 .253-.253V11h1v1.747a.253.253 0 0 0 .253.253h1.494a.253.253 0 0 0 .253-.253V8.12a.25.25 0 0 0-.094-.2zM10 10H9V9h1zm2 0h-1V9h1zM5.71.815a.252.252 0 0 0-.42 0L2.042 4.936a.25.25 0 0 0-.042.14v7.671a.25.25 0 0 0 .251.253h2.5A.25.25 0 0 0 5 12.748V11h1v1.748a.25.25 0 0 0 .252.252H7V7a.5.5 0 0 1 .188-.391L9 5C9 4.95 5.71.815 5.71.815M4 9H3V8h1zm0-3H3V5h1zm2 3H5V8h1zm0-3H5V5h1z"/></svg>

How to use the Town icon

React

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

<Icon icon="maki:town" width="24" />

Vue

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

<template>
  <Icon icon="maki:town" width="24" />
</template>

Svelte

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

<Icon icon="maki:town" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="maki:town"></iconify-icon>

HTML image

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

Related icons in Maki

Town icon in other icon sets

Town icon FAQ

Is the Town icon free for commercial use?

Yes. Maki icons are released under the CC0 license, which allows use in personal and commercial projects.

How do I use the Town icon in React?

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

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

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

Browse all Maki icons →