city icon
city from IconPark by ByteDance · Color · Build · Apache-2.0 Free for personal and commercial use.
- Name
- city
- Set
- IconPark
- Style
- Color
- Category
- Build
- Viewbox
- 48×48
- License
- Apache 2.0
The same icon in other sets
More build icons from IconPark
Use the city icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 48 48"><g fill="none"><path stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="4" d="M4 42H44"/><rect width="8" height="16" x="8" y="26" fill="#2F88FF" stroke="#000" stroke-linejoin="round" stroke-width="4" rx="2"/><path stroke="#fff" stroke-linecap="square" stroke-linejoin="round" stroke-width="4" d="M12 34H13"/><rect width="24" height="38" x="16" y="4" fill="#2F88FF" stroke="#000" stroke-linejoin="round" stroke-width="4" rx="2"/><rect width="4" height="4" x="22" y="10" fill="#fff"/><rect width="4" height="4" x="30" y="10" fill="#fff"/><rect width="4" height="4" x="22" y="17" fill="#fff"/><rect width="4" height="4" x="30" y="17" fill="#fff"/><rect width="4" height="4" x="30" y="24" fill="#fff"/><rect width="4" height="4" x="30" y="31" fill="#fff"/></g></svg>
React
import type { SVGProps } from "react";
export function IconParkCity(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 48 48"><g fill="none"><path stroke="#000" strokeLinecap="round" strokeLinejoin="round" strokeWidth="4" d="M4 42H44"/><rect width="8" height="16" x="8" y="26" fill="#2F88FF" stroke="#000" strokeLinejoin="round" strokeWidth="4" rx="2"/><path stroke="#fff" strokeLinecap="square" strokeLinejoin="round" strokeWidth="4" d="M12 34H13"/><rect width="24" height="38" x="16" y="4" fill="#2F88FF" stroke="#000" strokeLinejoin="round" strokeWidth="4" rx="2"/><rect width="4" height="4" x="22" y="10" fill="#fff"/><rect width="4" height="4" x="30" y="10" fill="#fff"/><rect width="4" height="4" x="22" y="17" fill="#fff"/><rect width="4" height="4" x="30" y="17" fill="#fff"/><rect width="4" height="4" x="30" y="24" fill="#fff"/><rect width="4" height="4" x="30" y="31" fill="#fff"/></g></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 48 48"><g fill="none"><path stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="4" d="M4 42H44"/><rect width="8" height="16" x="8" y="26" fill="#2F88FF" stroke="#000" stroke-linejoin="round" stroke-width="4" rx="2"/><path stroke="#fff" stroke-linecap="square" stroke-linejoin="round" stroke-width="4" d="M12 34H13"/><rect width="24" height="38" x="16" y="4" fill="#2F88FF" stroke="#000" stroke-linejoin="round" stroke-width="4" rx="2"/><rect width="4" height="4" x="22" y="10" fill="#fff"/><rect width="4" height="4" x="30" y="10" fill="#fff"/><rect width="4" height="4" x="22" y="17" fill="#fff"/><rect width="4" height="4" x="30" y="17" fill="#fff"/><rect width="4" height="4" x="30" y="24" fill="#fff"/><rect width="4" height="4" x="30" y="31" fill="#fff"/></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%2048%2048%22%3E%3Cg%20fill%3D%22none%22%3E%3Cpath%20stroke%3D%22%23000%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%224%22%20d%3D%22M4%2042H44%22%2F%3E%3Crect%20width%3D%228%22%20height%3D%2216%22%20x%3D%228%22%20y%3D%2226%22%20fill%3D%22%232F88FF%22%20stroke%3D%22%23000%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%224%22%20rx%3D%222%22%2F%3E%3Cpath%20stroke%3D%22%23fff%22%20stroke-linecap%3D%22square%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%224%22%20d%3D%22M12%2034H13%22%2F%3E%3Crect%20width%3D%2224%22%20height%3D%2238%22%20x%3D%2216%22%20y%3D%224%22%20fill%3D%22%232F88FF%22%20stroke%3D%22%23000%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%224%22%20rx%3D%222%22%2F%3E%3Crect%20width%3D%224%22%20height%3D%224%22%20x%3D%2222%22%20y%3D%2210%22%20fill%3D%22%23fff%22%2F%3E%3Crect%20width%3D%224%22%20height%3D%224%22%20x%3D%2230%22%20y%3D%2210%22%20fill%3D%22%23fff%22%2F%3E%3Crect%20width%3D%224%22%20height%3D%224%22%20x%3D%2222%22%20y%3D%2217%22%20fill%3D%22%23fff%22%2F%3E%3Crect%20width%3D%224%22%20height%3D%224%22%20x%3D%2230%22%20y%3D%2217%22%20fill%3D%22%23fff%22%2F%3E%3Crect%20width%3D%224%22%20height%3D%224%22%20x%3D%2230%22%20y%3D%2224%22%20fill%3D%22%23fff%22%2F%3E%3Crect%20width%3D%224%22%20height%3D%224%22%20x%3D%2230%22%20y%3D%2231%22%20fill%3D%22%23fff%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%2048%2048%22%3E%3Cg%20fill%3D%22none%22%3E%3Cpath%20stroke%3D%22%23000%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%224%22%20d%3D%22M4%2042H44%22%2F%3E%3Crect%20width%3D%228%22%20height%3D%2216%22%20x%3D%228%22%20y%3D%2226%22%20fill%3D%22%232F88FF%22%20stroke%3D%22%23000%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%224%22%20rx%3D%222%22%2F%3E%3Cpath%20stroke%3D%22%23fff%22%20stroke-linecap%3D%22square%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%224%22%20d%3D%22M12%2034H13%22%2F%3E%3Crect%20width%3D%2224%22%20height%3D%2238%22%20x%3D%2216%22%20y%3D%224%22%20fill%3D%22%232F88FF%22%20stroke%3D%22%23000%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%224%22%20rx%3D%222%22%2F%3E%3Crect%20width%3D%224%22%20height%3D%224%22%20x%3D%2222%22%20y%3D%2210%22%20fill%3D%22%23fff%22%2F%3E%3Crect%20width%3D%224%22%20height%3D%224%22%20x%3D%2230%22%20y%3D%2210%22%20fill%3D%22%23fff%22%2F%3E%3Crect%20width%3D%224%22%20height%3D%224%22%20x%3D%2222%22%20y%3D%2217%22%20fill%3D%22%23fff%22%2F%3E%3Crect%20width%3D%224%22%20height%3D%224%22%20x%3D%2230%22%20y%3D%2217%22%20fill%3D%22%23fff%22%2F%3E%3Crect%20width%3D%224%22%20height%3D%224%22%20x%3D%2230%22%20y%3D%2224%22%20fill%3D%22%23fff%22%2F%3E%3Crect%20width%3D%224%22%20height%3D%224%22%20x%3D%2230%22%20y%3D%2231%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/icon-park/city.svg?color=%231a73e8&size=48