ICONYZ
English
City icon from IconOven

City icon

iconoven:city

The City icon (iconoven:city) is a free SVG icon from the IconOven set by Appic Marketing. It is drawn on a 24 × 24 grid. IconOven 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
IconOven
Author
Appic Marketing
License
MIT
Size
24 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path stroke-width="1.5" d="M2.75 20.85V13.4q0-.4.28-.68l1.44-1.44q.28-.28.56 0l1.44 1.44q.28.28.28-.12V8.4q0-.4.4-.4h3.45q.4 0 .4-.37q0-.38.4-.38h.2q.4 0 .4-.4V4.9q0-.4.4-.4h2.2q.4 0 .4.4v1.95q0 .4.4.4h.2q.4 0 .4.4v2.2q0 .4.37.54l4.51 1.72q.37.14.37.54v8.2q0 .4-.4.4H3.15q-.4 0-.4-.4m4-7.85v8.25M11 8v13.25m5-11v11"/><path stroke-width="2" d="M8.9 11.5h.01m4.59-1h.01M13.5 14h.01m5.09 1.5h.01"/><path stroke-width="1.5" d="M13.5 4.5V2.75"/></g></svg>

How to use the City icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Related icons in IconOven

City icon in other icon sets

City icon FAQ

Is the City icon free for commercial use?

Yes. IconOven 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="iconoven: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/iconoven/city.svg" alt="City icon">, or paste the SVG code inline to style it with CSS.

Browse all IconOven icons →