Font Awesome Hospital Icon (Medical, Clinic, Healthcare)

The Font Awesome Hospital Icon is used to indicate Medical, Clinic, Healthcare. This icon has 2 version : fas fa-hospital for version 5 and fa-solid fa-hospital for version 6. It used represents to a place where sick or injured people are treated. If you want to edit or customize this Fa Hospital Icon, utilize the 'Try It' editor to change its color, size, and Animation.


Fontawesome Version 5.X

hospital

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

hospital

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

hospital

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

hospital

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

hospital

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

Fontawesome Version 6.X

hospital

Web

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

React

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

Vue

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

hospital

Web

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

React

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

Vue

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

hospital

Web

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

React

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

Vue

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

hospital

Web

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

React

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

Vue

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

hospital

Web

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

React

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

Vue

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

FA Regular hospital Version 6.X

px Enter Size
Color Code
HTML
<i class="fa-regular fa-hospital"></i>

How to add Font Awesome hospital Icon ?

Font Awesome Icon fas fa hospital 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-hospital'></i>
Icon Code -
fas fa-hospital

HTML Code

Get complete html code for icon hospital

                    
                    <!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-hospital'></i>
                        </body>
                    </html>                    

Tags

Medical,Clinic,Ambulance,Patient,Treatment

Change Font Awesome Icon Hospital 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-hospital blue-color'></i> <i class='fas fa-hospital green-color'></i> <i class='fas fa-hospital teal-color'></i> <i class='fas fa-hospital yellow-color'></i> <i class='fas fa-hospital 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

Hospital Icon Font Awesome - FAQs

⭐What is the Font Awesome Hospital Icon code?

Icon Code is - fas fa-hospital.

⭐ What does the fas fa-hospital Icon mean?

fas fa-hospital is the Icon code of Font Awesome Hospital.

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

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

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

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

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

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

Advertisements



Advertisements



Looking For More Icons?