ICONYZ
English
City icon from WebHostingHub Glyphs

City icon

whh:city

The City icon (whh:city) is a free SVG icon from the WebHostingHub Glyphs set by WebHostingHub. It is drawn on a 1024 × 1024 grid. WebHostingHub Glyphs icons are released under the Open Font 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
WebHostingHub Glyphs
Author
WebHostingHub
License
OFL-1.1
Size
1024 × 1024
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="1024" height="1024" viewBox="0 0 1024 1024"><path fill="currentColor" d="M992 1024H32q-13 0-22.5-9.5T0 992V288q0-13 9.5-22.5T32 256h224V32q0-13 9.5-22.5T288 0h192q13 0 22.5 9.5T512 32v288h64v-96q0-13 9.5-22.5T608 192h32q0-31 18-55.5t47-34.5q2-44 11-73t20-29t20 29t11 73q29 10 47 34.5t18 55.5h32q13 0 22.5 9.5T896 224v288h96q13 0 22.5 9.5t9.5 22.5v448q0 13-9.5 22.5T992 1024M128 320H64v64h64zm0 128H64v64h64zm0 256H64v64h64zm128-384h-64v64h64zm0 256h-64v64h64zm64 320h64v-64h-64zm0-128h64v-64h-64zm64-704h-64v64h64zm64 128h-64v64h64zm0 128h-64v64h64zm0 256h-64v64h64zm128-192h-64v64h64zm0 128h-64v64h64zm0 256h-64v64h64zm128-448h-64v64h64zm0 128h-64v64h64zm0 320h-64v64h64zm128-384h-64v64h64zm0 256h-64v64h64zm0 192h-64v64h64zm128-256h-64v64h64zm0 128h-64v64h64zm0 128h-64v64h64z"/></svg>

How to use the City icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

<img src="https://iconyz.com/api/public/svg/whh/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. WebHostingHub Glyphs icons are released under the Open Font 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="whh: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/whh/city.svg" alt="City icon">, or paste the SVG code inline to style it with CSS.

Browse all WebHostingHub Glyphs icons →