City icon
maki:city
The City icon (maki:city) 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.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><path fill="currentColor" d="M12.637 4h-1.639V2.36a.36.36 0 0 0-.36-.36h-.279a.36.36 0 0 0-.36.36V4H8.36a.36.36 0 0 0-.36.36v5.638H4.361c-.2 0-.363.163-.363.363v2.275c0 .2.163.362.363.362h8.275c.2 0 .36-.162.36-.361V4.36a.36.36 0 0 0-.36-.36m-6.638 7.998h-1v-1h1zm2 0h-1v-1h1zm2 0h-1v-1h1zm0-2h-1v-1h1zm0-2h-1v-1h1zm0-2h-1v-1h1zm2 6h-1v-1h1zm0-2h-1v-1h1zm0-2h-1v-1h1zm0-2h-1v-1h1zm-5-3.637A.36.36 0 0 0 6.638 2H4.36a.36.36 0 0 0-.36.36V4H2.36a.36.36 0 0 0-.36.36v8.287c0 .194.157.35.35.35H3V9h3.999zM4 7.998H3v-1h1zm0-2H3v-1h1zm2 2H5v-1h1zm0-2H5v-1h1zm0-2H5V3h1v1z"/></svg>How to use the City icon
React
import { Icon } from "@iconify/react";
<Icon icon="maki:city" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="maki:city" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="maki:city" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[maki--city]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/maki -->
<div class="i-maki:city"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="maki:city"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/maki/city.svg" alt="City icon" width="24" height="24">City icon in other icon sets
City icon FAQ
Is the City 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 City icon in React?
Install @iconify/react and render <Icon icon="maki:city" />, or use “Copy code” on this page to get a standalone React component.
How do I add the City icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/maki/city.svg" alt="City icon">, or paste the SVG code inline to style it with CSS.