Font Awesome House Icon - Home

In this tutorial, the Font Awesome house icon is used to represent a home or property. This icon is also identified by the class "fa-home.

Fontawesome Version 6.X

house

Web

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

React

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

Vue

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

house

Web

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

React

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

Vue

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

house

Web

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

React

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

Vue

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

house

Web

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

React

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

Vue

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

house

Web

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

React

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

Vue

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

How to add Font Awesome house Icon ?

Font Awesome Icon fa solid fa house 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='fa-solid fa-house'></i>
Icon Code -
fa-solid fa-house

HTML Code

Get complete html code for icon house

                    
                    <!DOCTYPE html>
                    <html>
                        <head>
                        <title>Page Title</title>
                        <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css"  crossorigin="anonymous" referrerpolicy="no-referrer" />
                       </head>
                        <body>
                        <i class='fa-solid fa-house'></i>
                        </body>
                    </html>                    

Tags

home,property

Change Font Awesome Icon House 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='fa-solid fa-house blue-color'></i>
      <i class='fa-solid fa-house green-color'></i>
      <i class='fa-solid fa-house teal-color'></i>
      <i class='fa-solid fa-house yellow-color'></i>
      <i class='fa-solid fa-house 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://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css"  crossorigin="anonymous" referrerpolicy="no-referrer" />            
            
Related Icons

Advertisements



Advertisements



Looking For More Icons?