Font Awesome Shield Icon (Protection, Security, Shielding)

The Font Awesome Shield Icon is used indicate Protection, Security, Shielding. This icon has 2 version : fa fa-shield for version 4 and fa-solid fa-shield for version 6. It used represents Safeguard, Defender and Fortification. if you want to edit or customize to change its color, size, and animation use Try It' editor.

Fontawesome Version 4.X

shield

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

shield

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

shield

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

shield

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

shield

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

Fontawesome Version 6.X

shield

Web

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

React

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

Vue

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

shield

Web

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

React

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

Vue

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

shield

Web

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

React

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

Vue

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

shield

Web

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

React

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

Vue

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

shield

Web

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

React

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

Vue

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

How to add Font Awesome shield Icon ?

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

HTML Code

Get complete html code for icon shield

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

Tags

Protection,Security,Shielding,Guardian,Safety,Defense

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

Shield Icon Font Awesome - FAQs

⭐What is the Font Awesome Shield Icon code?

Icon Code is - fa fa-shield.

⭐ What does the fa fa-shield Icon mean?

fa fa-shield is the Icon code of Font Awesome Shield.

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

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

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

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

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

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

Advertisements



Advertisements



Looking For More Icons?