Font Awesome Heart (Love, Hearbeat, Wishlist, Favorite)

The Font Awesome heart icon is a commonly used symbol that represents love, affection, or empathy, especially in React. In version 4.x of Font Awesome, the code for the heart icon is "fa fa-heart," while in Font Awesome 5, the code for the heart symbol is "fas fa-heart." In version 6, the code for the solid heart is "fa-solid fa-heart." Here, you can try customizing the heart icon and adding animations, such as a heartbeat effect.This font awesome heart icon also symbolize - Favorite, Pulse, Wishlist.

Fontawesome Version 4.X

heart

<i class='fa fa-heart'></i>

heart

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

heart

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

heart

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

heart

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


Fontawesome Version 5.X

heart

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

heart

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

heart

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

heart

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

heart

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

Fontawesome Version 6.X

heart

Web

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

React

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

Vue

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

heart

Web

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

React

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

Vue

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

heart

Web

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

React

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

Vue

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

heart

Web

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

React

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

Vue

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

heart

Web

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

React

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

Vue

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

FA Regular heart Version 6.X

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

How to add Font Awesome heart Icon ?

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

HTML Code

Get complete html code for icon heart

                    
                    <!DOCTYPE html>
                    <html>
                        <head>
                        <title>Page Title</title>
                        <link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css'>
                       </head>
                        <body>
                        <i class='fa fa-heart'></i>
                        </body>
                    </html>                    

Tags

character, feeling, love, nature, soul, affection, compassion, disposition, humanity, palate, response,sensitivity,sentiment,sympathy,temperament,tenderness,understanding,favorite,fa wishlist,fa pulse,fa fa heartbeat

Change Font Awesome Icon Heart 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 fa-heart blue-color'></i> <i class='fa fa-heart green-color'></i> <i class='fa fa-heart teal-color'></i> <i class='fa fa-heart yellow-color'></i> <i class='fa fa-heart 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/4.7.0/css/font-awesome.min.css'>            
            
Related Icons

Heart Icon Font Awesome - FAQs

⭐What is the Font Awesome Heart Icon code?

Icon Code is - fa fa-heart.

⭐ What does the fa fa-heart Icon mean?

fa fa-heart is the Icon code of Font Awesome Heart.

⭐ Can we add fa fa-heart Icon in different sizes?

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

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

Add the blue color Heart icon of the font awesome by using code: fa fa-heart style='color: blue;'.

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

To change the Heart icon to white color use code: fa fa-heart style='color: white;'.

Advertisements



Advertisements



Looking For More Icons?