Gentleface › Buildings › city
city icon
cityCity: city, urban, skyline, downtown. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.
Animated city-lights · line-round
The tower’s windows go dark one by one in no order and the warning light on the antenna blinks in the dark. The windows then come back on in another order.
Native SVG animation, with no CSS or script. It loops by itself. Inline it to take the text color: in an <img> it draws black. To play it once on hover or click, run 0.25 s to 2.55 s. Examples and helper.
Code line-round
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M9.707 3.293C9.902 3.488 10 3.724 10 4L10 6C10.226 6 10.444 6.043 10.653 6.13C10.862 6.217 11.047 6.34 11.207 6.5L13.146 8.439C13.42 8.713 13.63 9.028 13.778 9.385C13.926 9.742 14 10.114 14 10.5L14 14L14.5 14C14.641 14 14.759 14.048 14.856 14.144C14.952 14.241 15 14.359 15 14.5C15 14.641 14.952 14.759 14.856 14.856C14.759 14.952 14.641 15 14.5 15L1.5 15C1.359 15 1.241 14.952 1.144 14.856C1.048 14.759 1 14.641 1 14.5C1 14.359 1.048 14.241 1.144 14.144C1.241 14.048 1.359 14 1.5 14L2 14L2 8C2 7.724 2.098 7.488 2.293 7.293C2.488 7.098 2.724 7 3 7L5 7L5 4C5 3.724 5.098 3.488 5.293 3.293C5.488 3.098 5.724 3 6 3L7 3L7 1.5C7 1.359 7.048 1.241 7.144 1.144C7.241 1.048 7.359 1 7.5 1C7.641 1 7.759 1.048 7.856 1.144C7.952 1.241 8 1.359 8 1.5L8 3L9 3C9.276 3 9.512 3.098 9.707 3.293ZM9 4L6 4L6 14L9 14L9 4ZM7 5L8 5L8 7L7 7L7 5ZM13 14L13 10.5C13 10.246 12.951 10.002 12.854 9.767C12.757 9.533 12.619 9.326 12.439 9.146L10.5 7.207C10.362 7.069 10.195 7 10 7L10 14L13 14ZM5 14L5 8L3 8L3 14L5 14ZM8 10L7 10L7 8L8 8L8 10ZM7 11L8 11L8 13L7 13L7 11Z"/></svg>
// Gentleface "city" (line-round), MIT. https://gentleface.com/icons/city
import type { SVGProps } from 'react';
export function CityIcon(props: SVGProps<SVGSVGElement>) {
return (
<svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
<path d="M9.707 3.293C9.902 3.488 10 3.724 10 4L10 6C10.226 6 10.444 6.043 10.653 6.13C10.862 6.217 11.047 6.34 11.207 6.5L13.146 8.439C13.42 8.713 13.63 9.028 13.778 9.385C13.926 9.742 14 10.114 14 10.5L14 14L14.5 14C14.641 14 14.759 14.048 14.856 14.144C14.952 14.241 15 14.359 15 14.5C15 14.641 14.952 14.759 14.856 14.856C14.759 14.952 14.641 15 14.5 15L1.5 15C1.359 15 1.241 14.952 1.144 14.856C1.048 14.759 1 14.641 1 14.5C1 14.359 1.048 14.241 1.144 14.144C1.241 14.048 1.359 14 1.5 14L2 14L2 8C2 7.724 2.098 7.488 2.293 7.293C2.488 7.098 2.724 7 3 7L5 7L5 4C5 3.724 5.098 3.488 5.293 3.293C5.488 3.098 5.724 3 6 3L7 3L7 1.5C7 1.359 7.048 1.241 7.144 1.144C7.241 1.048 7.359 1 7.5 1C7.641 1 7.759 1.048 7.856 1.144C7.952 1.241 8 1.359 8 1.5L8 3L9 3C9.276 3 9.512 3.098 9.707 3.293ZM9 4L6 4L6 14L9 14L9 4ZM7 5L8 5L8 7L7 7L7 5ZM13 14L13 10.5C13 10.246 12.951 10.002 12.854 9.767C12.757 9.533 12.619 9.326 12.439 9.146L10.5 7.207C10.362 7.069 10.195 7 10 7L10 14L13 14ZM5 14L5 8L3 8L3 14L5 14ZM8 10L7 10L7 8L8 8L8 10ZM7 11L8 11L8 13L7 13L7 11Z" />
</svg>
);
}Vue: see /icons/city.md
Svelte: see /icons/city.md
HTML img: see /icons/city.md
CSS: see /icons/city.md
Data URL: see /icons/city.md
Sprite: see /icons/city.md
SwiftUI: see /icons/city.md
Compose: see /icons/city.md
Android XML: see /icons/city.md
Flutter: see /icons/city.md
Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.
With npm: import { CityIcon } from '@gentleface/react'; (setup).
Meaning
- Use it for
- city, urban, skyline, downtown, cityscape, town
- Alternatives
- Also fits
- building: a city or skyline
- companies: a city, skyline or downtown
- neighborhood: a city or downtown
- Tags
- city, urban, skyline, downtown, buildings, town, skyscrapers, metropolis
- Category
- Buildings
- Component name
CityIcon- History
- added
- released in 0.1.0
- changed in 0.2.0
- 16 px redrawn
- 20 px drawn, 24 px drawn
- Since
- version 0.1.0
More buildings icons
arch balcony building building-alert building-apartment building-check building-gear building-lock building-off building-pencil building-plus building-search building-x buildings castle cottage · all buildings icons
For agents
Metadata: /icons/city.json · Markdown: /icons/city.md · SVG: https://gentleface.com/svg/{style}/16/city.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/city.png