Font Awesome City Icon (Urban, Cities, Metropolition)

The Font Awesome City Icon is used indicate Urban, Cities, Cultural Diversity. This icon has 2 version : fas fa-city' version 5 and fa-solid fa-user-secret for version 6. It used refers to all the state capitals of Bihar are known as cities like Mumbai, Gandhi Nagar etc. If you want to edit or customize this city icon, utilize the 'Try It' editor to change its color, size, and animation.


Fontawesome Version 5.X

city

<i class='fas fa-city'></i>

city

<i class='fas fa-city' style='color: white'></i>

city

<i class='fas fa-city' style='color: red'></i>

city

<i class='fas fa-city' style='color: blue'></i>

city

<i class='fas fa-city' style='color: #f3da35'></i>
Try it Yourself

Fontawesome Version 6.X

city

Web

<i class='fa-solid fa-city'></i>

React

<FontAwesomeIcon icon="fa-solid fa-city" />

Vue

<font-awesome-icon icon="fa-solid fa-city" />

city

Web

<i class='fa-solid fa-city' style='color: white'></i>

React

<FontAwesomeIcon icon="fa-solid fa-city" style={{color: 'white'}} />

Vue

<font-awesome-icon icon="fa-solid fa-city" :style="{color: 'white'}" />

city

Web

<i class='fa-solid fa-city' style='color: red'></i>

React

<FontAwesomeIcon icon="fa-solid fa-city" style={{color: 'red'}} />

Vue

<font-awesome-icon icon="fa-solid fa-city" :style="{color: 'red'}" />

city

Web

<i class='fa-solid fa-city' style='color: blue'></i>

React

<FontAwesomeIcon icon="fa-solid fa-city" style={{color: 'blue'}} />

Vue

<font-awesome-icon icon="fa-solid fa-city" :style="{color: 'blue'}" />

city

Web

<i class='fa-solid fa-city' style='color: #f3da35'></i>

React

<FontAwesomeIcon icon="fa-solid fa-city" style={{color: '#f3da35'}} />

Vue

<font-awesome-icon icon="fa-solid fa-city" :style="{color: '#f3da35'}" />
Try it Yourself

How to add Font Awesome city Icon ?

Font Awesome Icon fas fa city Icon can be added to any web page simply as below. You can integrate Icon in web pages by just adding following below syntax & icon code.

Icon -
<i class='fas fa-city'></i>
Icon Code -
fas fa-city

HTML Code

Get complete html code for icon city

                    
                    <!DOCTYPE html>
                    <html>
                        <head>
                        <title>Page Title</title>
                        <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">
                       </head>
                        <body>
                        <i class='fas fa-city'></i>
                        </body>
                    </html>                    

Tags

urban,cities,cultural diversity, ,location,Metropolitan,Municipal monument

Change Font Awesome Icon City Color

Sometimes we need icons in different color, as we suggested by adding css style we can change color. Here we have created one example to change color of icons with css classes.


    <style>
.blue-color {
color:blue;
}
.green-color {
color:green;
}
.teal-color {
color:teal;
}
.yellow-color {
color:yellow;
}
.red-color {
color:red;
}
</style>
<i class='fas fa-city blue-color'></i> <i class='fas fa-city green-color'></i> <i class='fas fa-city teal-color'></i> <i class='fas fa-city yellow-color'></i> <i class='fas fa-city red-color'></i>

Output of the above example will be as below-


Note- Make Sure You have included the below Font Awesome file in header-
            
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">            
            
Related Icons

City Icon Font Awesome - FAQs

⭐What is the Font Awesome City Icon code?

Icon Code is - fas fa-city.

⭐ What does the fas fa-city Icon mean?

fas fa-city is the Icon code of Font Awesome City.

⭐ Can we add fas fa-city Icon in different sizes?

Yes, you can Icon of fas fa-city in various pixels.

⭐ How to add a Blue color Font Awesome City Icon?

Add the blue color City icon of the font awesome by using code: fas fa-city style='color: blue;'.

⭐ How to make white color icon of a Font Awesome City?

To change the City icon to white color use code: fas fa-city style='color: white;'.

Advertisements



Advertisements



Looking For More Icons?