city-2 from TDesign Icons by TDesign · Outline · MIT Free for personal and commercial use.

Name
city-2
Set
TDesign Icons
Style
Outline
Viewbox
24×24
License
MIT

1 other variant in TDesign Icons

Related icons in TDesign Icons

Use the city 2 icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none"><path d="M9 4.5V13l6-5l6 5v8H3V4.5L6 2z"/><path d="M17 15h-4v6h4z"/><path stroke="currentColor" stroke-width="2" d="M17 15h-4v6h4z"/><path stroke="currentColor" stroke-width="2" d="M9 13v8m0-8V4.5L6 2L3 4.5V21h6m0-8l6-5l6 5v8H9m0 0c.706 0-.632 0 0 0Z"/></g></svg>

React

import type { SVGProps } from "react";

export function TdesignCity2(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none"><path d="M9 4.5V13l6-5l6 5v8H3V4.5L6 2z"/><path d="M17 15h-4v6h4z"/><path stroke="currentColor" strokeWidth="2" d="M17 15h-4v6h4z"/><path stroke="currentColor" strokeWidth="2" d="M9 13v8m0-8V4.5L6 2L3 4.5V21h6m0-8l6-5l6 5v8H9m0 0c.706 0-.632 0 0 0Z"/></g></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none"><path d="M9 4.5V13l6-5l6 5v8H3V4.5L6 2z"/><path d="M17 15h-4v6h4z"/><path stroke="currentColor" stroke-width="2" d="M17 15h-4v6h4z"/><path stroke="currentColor" stroke-width="2" d="M9 13v8m0-8V4.5L6 2L3 4.5V21h6m0-8l6-5l6 5v8H9m0 0c.706 0-.632 0 0 0Z"/></g></svg>
</template>

CSS

.icon-city-2 {
  width: 24px;
  height: 24px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cg%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M9%204.5V13l6-5l6%205v8H3V4.5L6%202z%22%2F%3E%3Cpath%20d%3D%22M17%2015h-4v6h4z%22%2F%3E%3Cpath%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20d%3D%22M17%2015h-4v6h4z%22%2F%3E%3Cpath%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20d%3D%22M9%2013v8m0-8V4.5L6%202L3%204.5V21h6m0-8l6-5l6%205v8H9m0%200c.706%200-.632%200%200%200Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cg%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M9%204.5V13l6-5l6%205v8H3V4.5L6%202z%22%2F%3E%3Cpath%20d%3D%22M17%2015h-4v6h4z%22%2F%3E%3Cpath%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20d%3D%22M17%2015h-4v6h4z%22%2F%3E%3Cpath%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20d%3D%22M9%2013v8m0-8V4.5L6%202L3%204.5V21h6m0-8l6-5l6%205v8H9m0%200c.706%200-.632%200%200%200Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/tdesign/city-2.svg?color=%231a73e8&size=48