city icon
city from TDesign Icons by TDesign · Outline · MIT Free for personal and commercial use.
- Name
- city
- Set
- TDesign Icons
- Style
- Outline
- Viewbox
- 24×24
- License
- MIT
1 other variant in TDesign Icons
The same icon in other sets
Related icons in TDesign Icons
Use the city 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 5.5V11h12v10H3V3z"/><path d="M13 16v5h4v-5z"/><path stroke="currentColor" stroke-width="2" d="M13 16v5h4v-5z"/><path stroke="currentColor" stroke-width="2" d="M9 21V11m0 10h12V11H9m0 10H3V3l6 2.5V11"/></g></svg>
React
import type { SVGProps } from "react";
export function TdesignCity(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 5.5V11h12v10H3V3z"/><path d="M13 16v5h4v-5z"/><path stroke="currentColor" strokeWidth="2" d="M13 16v5h4v-5z"/><path stroke="currentColor" strokeWidth="2" d="M9 21V11m0 10h12V11H9m0 10H3V3l6 2.5V11"/></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 5.5V11h12v10H3V3z"/><path d="M13 16v5h4v-5z"/><path stroke="currentColor" stroke-width="2" d="M13 16v5h4v-5z"/><path stroke="currentColor" stroke-width="2" d="M9 21V11m0 10h12V11H9m0 10H3V3l6 2.5V11"/></g></svg> </template>
CSS
.icon-city {
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%205.5V11h12v10H3V3z%22%2F%3E%3Cpath%20d%3D%22M13%2016v5h4v-5z%22%2F%3E%3Cpath%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20d%3D%22M13%2016v5h4v-5z%22%2F%3E%3Cpath%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20d%3D%22M9%2021V11m0%2010h12V11H9m0%2010H3V3l6%202.5V11%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%205.5V11h12v10H3V3z%22%2F%3E%3Cpath%20d%3D%22M13%2016v5h4v-5z%22%2F%3E%3Cpath%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20d%3D%22M13%2016v5h4v-5z%22%2F%3E%3Cpath%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20d%3D%22M9%2021V11m0%2010h12V11H9m0%2010H3V3l6%202.5V11%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.svg?color=%231a73e8&size=48