City icon
si-glyph:city
The City icon (si-glyph:city) is a free SVG icon from the SmartIcons Glyph set by SmartIcons. It is drawn on a 17 × 24 grid. SmartIcons Glyph icons are released under the CC BY SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- SmartIcons Glyph
- Author
- SmartIcons
- License
- CC-BY-SA-4.0
- Size
- 17 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="17" height="24" viewBox="0 0 17 24"><path fill="currentColor" fill-rule="evenodd" d="M1 8v8h3V8zm2 7H1.979v-2.021H3zm.021-3H1.98V9.979h1.041zM10 5V3H9V0H8v3H7v2H5v11h7V5zM7 15H6v-2h1zm0-2.958H6V10h1zm0-3H6V7h1zM9 15H8v-2h1zm0-2.958H8V10h1zm0-3H8V7h1zM11 15h-1v-2h1zm0-2.958h-1V10h1zm0-3h-1V7h1zM13 7v9h4v-5zm2.031 8.062H14v-1.094h1.031zm0-2H14v-1.094h1.031zm0-2H14V9.968h1.031z"/></svg>How to use the City icon
React
import { Icon } from "@iconify/react";
<Icon icon="si-glyph:city" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="si-glyph:city" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="si-glyph:city" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[si-glyph--city]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/si-glyph -->
<div class="i-si-glyph:city"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="si-glyph:city"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/si-glyph/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. SmartIcons Glyph icons are released under the CC BY SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license.
How do I use the City icon in React?
Install @iconify/react and render <Icon icon="si-glyph: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/si-glyph/city.svg" alt="City icon">, or paste the SVG code inline to style it with CSS.