ICONYZ
English
City icon from Health Icons

City icon

healthicons:city

The City icon (healthicons:city) is a free SVG icon from the Health Icons set by Resolve to Save Lives. It is drawn on a 48 × 48 grid. Health Icons are released under the MIT 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
Health Icons
Author
Resolve to Save Lives
License
MIT
Size
48 × 48
Category
Places
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><g fill="currentColor"><path d="M31 30h3v-2h-3zm3 4h-3v-2h3zm-3 4h3v-2h-3z"/><path fill-rule="evenodd" d="m17 4l16 6v14h4a1 1 0 0 1 1 1v17h1a1 1 0 1 1 0 2H9a1 1 0 1 1 0-2h1V21a1 1 0 0 1 1-1h2v-7h2v7h2zm19 38h-2v-2h-3v2h-2V26h7zM17 22h-5v20h5zm5-9h-2v2h2zm2 0h2v2h-2zm6 0h-2v2h2zm-10 4h2v2h-2zm6 0h-2v2h2zm2 0h2v2h-2zm-6 4h-2v2h2zm2 0h2v2h-2zm6 0h-2v2h2zm-10 4h2v2h-2zm6 0h-2v2h2zm-4 4h-2v2h2zm2 0h2v2h-2zm-4 4h2v2h-2zm6 0h-2v2h2zm-4 4h-2v2h2zm2 0h2v2h-2z" clip-rule="evenodd"/></g></svg>

How to use the City icon

React

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

<Icon icon="healthicons:city" width="24" />

Vue

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

<template>
  <Icon icon="healthicons:city" width="24" />
</template>

Svelte

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

<Icon icon="healthicons:city" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="healthicons:city"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/healthicons/city.svg" alt="City icon" width="24" height="24">

Related icons in Health Icons

City icon in other icon sets

City icon FAQ

Is the City icon free for commercial use?

Yes. Health Icons are released under the MIT 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="healthicons: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/healthicons/city.svg" alt="City icon">, or paste the SVG code inline to style it with CSS.

Browse all Health Icons →