Material Design Lock Icon

Material Design Lock Icon refers to a mechanism for keeping a door, window, lid, or container closed, usually operated by a key. This Material Design Lock icon code is "lock". You can use this lock icon as Material UI, Vuetify, and Angular Material (Mat Icon).

Lock Icon is given below. You can use this icon on the same way in your project. First make sure you have added Material Icon library. If this library is added just add the HTML css class lock to any element to add the icon. Material Design Lock Icon can be resized as per your need. You can manage size of icon(lock) by using font-size css style.

You can get steps to add HTML icon Lock in Web, Vuetify, Material UI, Material Design and Angular Material framwork.

How to add Material Design Lock Icon ?

Material Icon lock Icon can be added to any web page simply as below.

1. Web

You can integrate Icon in web pages by just adding following below syntax & icon code.

thumb_up

Icon -
<span class="material-icons">lock</span>
Icon Code -


thumb_up

Lock

lock

Icon

<span class='material-icons-outlined'>lock</span>

Code

lock

Lock

lock

Icon

<span class='material-icons'>lock</span>

Code

lock

Lock

lock

Icon

<span class='material-icons-round'>lock</span>

Code

lock

Lock

lock

Icon

<span class='material-icons-sharp'>lock</span>

Code

lock

Lock

lock

Icon

<span class='material-icons-two-tone'>lock</span>

Code

lock

2. Vuetify Icon Lock

You can add icon in vuetify(VueJS) material design framework just as below-

thumb_up

<v-icon>lock</v-icon>

3. Material Ui Icon Lock - React

You can add icon in MaterialUi react framework just as below-

thumb_up

import LockIcon from '@mui/icons-material/Lock'

3. Angular Material Icon Lock - mat-icon

You can add mat icon Angular Material in Angular Material framework by just adding below code-

thumb_up

<mat-icon>lock</mat-icon>

Tags

lock, locked, password, privacy, private, protection, safety, secure, security,Vuetify Lock Icon (Vue Js), Material Ui Lock Icon (React Js), Mat Icon Lock (Angular Material)

lock

lock

lock

lock


Material Icon Lock Icon | lock | HTML, CSS

Adding Material Icon icon HTML Lock(lock) in web project is very simple. You need to add the icon class along with material-icons, it is basically main class and mandatory for icons so do not forget to add this class. You can customize Material Icon Lock Icon Lock as per your requirement, suppose that you need to chnage the color of Lock icon or change the size of size. It is pretty simple to change color of icon Lock just add style="color:red" it will make font color red. On the same way you can change size of Lock icon by just adding style="font-size:50px;". Smililarly you can add border color, shadow and other font styles to Lock. Hope this icon fullfilled your need. Thanks for visiting us.

Change Material Icon Icon 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>
<span class="material-icons blue-color"> lock</span>
<span class="material-icons green-color">lock </span>
<span class="material-icons teal-color"> lock</span>
<span class="material-icons yellow-color">lock </span>
<span class="material-icons red-color">lock </span>

Output of the above example will be as below-

lock lock lock lock lock
Note- Make Sure You have included the below Material Design file in header-

        <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
    

Advertisements



lock- Faq(s)?

⭐What is the Material Design Lock Icon code?

Icon Code is - lock.

⭐ What is Vuetify Lock Icon code?

Vuetify Lock Icon code is: lock

⭐What is Material UI Lock Icon (React) code?

import lockIcon from '@mui/icons-material/lock

⭐ What is Angular Material Lock Icon code?

Lock.

Advertisements



For More Icons?