City Line icon
si:city-line
The City Line icon (si:city-line) is a free SVG icon from the Sargam Icons set by Abhimanyu Rana. It is drawn on a 24 × 24 grid. Sargam 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
- Sargam Icons
- Author
- Abhimanyu Rana
- License
- MIT
- Size
- 24 × 24
- Tags
- cityline
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="1.5" d="M2 2v17.6A2.4 2.4 0 0 0 4.4 22h2.2A2.4 2.4 0 0 0 9 19.6V2H1m15 3v14.6a2.4 2.4 0 0 1-2.4 2.4H6.4m7 0h7.2a2.4 2.4 0 0 0 2.4-2.4V5h-8m-6 6h7M5 6h1M5 9h1m-1 3h1m-1 3h1m-1 3h1m13-6h1m-1-3h1m-1 6h1m-1 3h1m-8 0h1m-1-3h1"/></svg>How to use the City Line icon
React
import { Icon } from "@iconify/react";
<Icon icon="si:city-line" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="si:city-line" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="si:city-line" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[si--city-line]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/si -->
<div class="i-si:city-line"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="si:city-line"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/si/city-line.svg" alt="City Line icon" width="24" height="24">Related icons in Sargam Icons
City Line icon FAQ
Is the City Line icon free for commercial use?
Yes. Sargam Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the City Line icon in React?
Install @iconify/react and render <Icon icon="si:city-line" />, or use “Copy code” on this page to get a standalone React component.
How do I add the City Line icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/si/city-line.svg" alt="City Line icon">, or paste the SVG code inline to style it with CSS.