User Lock icon
fa-solid:user-lock
The User Lock icon (fa-solid:user-lock) is a free SVG icon from the Font Awesome 5 Solid set by Dave Gandy. It is drawn on a 640 × 512 grid. Font Awesome 5 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 5 Solid
- Author
- Dave Gandy
- License
- CC-BY-4.0
- Size
- 640 × 512
- Category
- Users & People, Security
- Tags
- userlock
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="640" height="512" viewBox="0 0 640 512"><path fill="currentColor" d="M224 256A128 128 0 1 0 96 128a128 128 0 0 0 128 128m96 64a63.1 63.1 0 0 1 8.1-30.5c-4.8-.5-9.5-1.5-14.5-1.5h-16.7a174.08 174.08 0 0 1-145.8 0h-16.7A134.43 134.43 0 0 0 0 422.4V464a48 48 0 0 0 48 48h280.9a63.54 63.54 0 0 1-8.9-32zm288-32h-32v-80a80 80 0 0 0-160 0v80h-32a32 32 0 0 0-32 32v160a32 32 0 0 0 32 32h224a32 32 0 0 0 32-32V320a32 32 0 0 0-32-32M496 432a32 32 0 1 1 32-32a32 32 0 0 1-32 32m32-144h-64v-80a32 32 0 0 1 64 0z"/></svg>How to use the User Lock icon
React
import { Icon } from "@iconify/react";
<Icon icon="fa-solid:user-lock" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="fa-solid:user-lock" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="fa-solid:user-lock" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[fa-solid--user-lock]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/fa-solid -->
<div class="i-fa-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="fa-solid:user-lock"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/fa-solid/user-lock.svg" alt="User Lock icon" width="24" height="24">Related icons in Font Awesome 5 Solid
User Lock icon in other icon sets
User Lock icon FAQ
Is the User Lock icon free for commercial use?
Yes. Font Awesome 5 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="fa-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/fa-solid/user-lock.svg" alt="User Lock icon">, or paste the SVG code inline to style it with CSS.