Font Awesome Eye Icon (Show Password, Preview, Vision)

If you want to create an input field with a feature to show or hide passwords, you can use the Font Awesome Eye icon. The Eye icon can be employed to indicate the visibility of a password field. You can choose from different versions of the Eye icon, such as Fa Fa Eye version 4, Fas Fa Eye version 6, or Fa Solid Fa Eye Font Awesome 6 Eye. The Font Awesome Eye Icon also refers to Vision, Preview and Show Paswword Eye.

Fontawesome Version 4.X

eye

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

eye

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

eye

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

eye

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

eye

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


Fontawesome Version 5.X

eye

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

eye

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

eye

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

eye

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

eye

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

Fontawesome Version 6.X

eye

Web

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

React

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

Vue

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

eye

Web

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

React

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

Vue

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

eye

Web

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

React

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

Vue

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

eye

Web

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

React

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

Vue

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

eye

Web

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

React

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

Vue

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

FA Regular eye Version 6.X

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

How to Add Font Awesome Password Eye to HTML Code?

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

HTML Code

Get complete html code for icon eye

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

Tags

see,observe,view,gaze at,gaze upon,stare at,scan,regard,contemplate,survey,inspect,examine,scrutinize,study,open,magnify,eye open fa icon ,Vision,Preview,Show,Password Eye,Show Password

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

Eye Icon Font Awesome - FAQs

⭐What is the Font Awesome Eye Icon code?

Icon Code is - fa fa-eye.

⭐ What does the fa fa-eye Icon mean?

fa fa-eye is the Icon code of Font Awesome Eye.

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

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

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

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

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

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

Advertisements



Advertisements



Looking For More Icons?