Font Aweome User Lock Icon (Security, Access, Privacy)

Font Awesome User Lock Icon used to represents User Lock icon symbolizes security, access control, and privacy signifies measures taken to keep your account secure. If you want to edit or customize this user lock icon, utilize the 'Try It' editor to change its color, size, and animation.


Fontawesome Version 5.X

user lock

<i class='fas fa-user-lock'></i>

user lock

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

user lock

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

user lock

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

user lock

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

Fontawesome Version 6.X

user lock

Web

<i class='fa-solid fa-user-lock'></i>

React

<FontAwesomeIcon icon="fa-solid fa-user-lock" />

Vue

<font-awesome-icon icon="fa-solid fa-user-lock" />

user lock

Web

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

React

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

Vue

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

user lock

Web

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

React

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

Vue

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

user lock

Web

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

React

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

Vue

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

user lock

Web

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

React

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

Vue

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

How to add Font Awesome user lock Icon ?

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

HTML Code

Get complete html code for icon user lock

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

Tags

Security,Access,privacy,User Account,Secure Login,Lock

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

Advertisements



Advertisements



Looking For More Icons?