User Lock icon
fa7-solid:user-lock
The User Lock icon (fa7-solid:user-lock) is a free SVG icon from the Font Awesome Solid set by Dave Gandy. It is drawn on a 640 × 640 grid. Font Awesome Solid icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Font Awesome Solid
- Author
- Dave Gandy
- License
- CC-BY-4.0
- Size
- 640 × 640
- Category
- Security, Users & People
- Tags
- userlock
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="640" height="640" viewBox="0 0 640 640"><path fill="currentColor" d="M256 72c66.3 0 120 53.7 120 120s-53.7 120-120 120s-120-53.7-120-120S189.7 72 256 72m-29.7 296h59.4c29.7 0 57.7 7.3 82.3 20.1v4.3c-19.6 17.6-32 43.1-32 71.5v96c0 5.5.5 10.9 1.3 16.1H77.7C61.3 576 48 562.7 48 546.3C48 447.8 127.8 368 226.3 368m301.7.1c0-17.7-14.3-32-32-32s-32 14.3-32 32V416h64zM384 464c0-20.9 13.4-38.7 32-45.3v-50.6c0-44.2 35.8-80 80-80s80 35.8 80 80v50.6c18.6 6.6 32 24.4 32 45.3v96c0 26.5-21.5 48-48 48H432c-26.5 0-48-21.5-48-48z"/></svg>How to use the User Lock icon
React
import { Icon } from "@iconify/react";
<Icon icon="fa7-solid:user-lock" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="fa7-solid:user-lock" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="fa7-solid:user-lock" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[fa7-solid--user-lock]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/fa7-solid -->
<div class="i-fa7-solid:user-lock"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="fa7-solid:user-lock"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/fa7-solid/user-lock.svg" alt="User Lock icon" width="24" height="24">Related icons in Font Awesome Solid
User Lock icon in other icon sets
User Lock icon FAQ
Is the User Lock icon free for commercial use?
Yes. Font Awesome Solid icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.
How do I use the User Lock icon in React?
Install @iconify/react and render <Icon icon="fa7-solid:user-lock" />, or use “Copy code” on this page to get a standalone React component.
How do I add the User Lock icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/fa7-solid/user-lock.svg" alt="User Lock icon">, or paste the SVG code inline to style it with CSS.