The Phosphor city icon depicts a skyline with multiple buildings, commonly used to represent urban areas, city locations, or metropolitan features in user interfaces.
Common uses
- Map marker for a city location
- Link to a city-specific page
- Section header for urban planning content
Use it in React
Install
npm i @phosphor-icons/reactImport & render
import { City } from '@phosphor-icons/react';
<City size={24} />Styles
Phosphor ships this icon in 6 styles — each its own import:
regular
<City size={24} />thin
<City size={24} weight="thin" />light
<City size={24} weight="light" />bold
<City size={24} weight="bold" />fill
<City size={24} weight="fill" />duotone
<City size={24} weight="duotone" />Details
- Library
- Phosphor (1,512 icons)
- License
- MIT
- viewBox
0 0 256 256- Category
- maps & travel
- Keywords
- *new*skylineskyscrapersplaceslocationsbuildingsmaps & travelcommercecityurbanmetropolis
FAQ
- What is the city icon used for?
- It's used to visually represent cities, urban environments, or metropolitan areas within an application.
- How do I use the city icon in React?
- Import it from the Phosphor library like this: import { City } from '@phosphor-icons/react'. Then use it as a component: <City size={24} />.
- What is the license for the Phosphor city icon?
- The Phosphor icon library, including the city icon, is available under the MIT license.