User Key icon
keyline-icons:user-key
The User Key icon (keyline-icons:user-key) is a free SVG icon from the Keyline Icons set. It is drawn on a 24 × 24 grid. Keyline Icons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Keyline Icons
- Author
- Keyline Icons
- License
- MIT
- Size
- 24 × 24
- Tags
- userkey
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 4C10.6569 4 12 5.3431 12 7C12 8.6569 10.6569 10 9 10C7.3432 10 6 8.6569 6 7C6 5.3431 7.3432 4 9 4ZM10 21L3 21C2.4477 21 2 20.5523 2 20C2 16.6863 4.6863 14 8 14L10 14M18 19C18 20.1046 17.1046 21 16 21C14.8954 21 14 20.1046 14 19C14 17.8954 14.8954 17 16 17C17.1046 17 18 17.8954 18 19ZM17.4142 17.5858L21.5 13.5M20.4393 14.5607L22 16.1214"/></svg>How to use the User Key icon
React
import { Icon } from "@iconify/react";
<Icon icon="keyline-icons:user-key" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="keyline-icons:user-key" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="keyline-icons:user-key" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[keyline-icons--user-key]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/keyline-icons -->
<div class="i-keyline-icons:user-key"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="keyline-icons:user-key"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/keyline-icons/user-key.svg" alt="User Key icon" width="24" height="24">Related icons in Keyline Icons
user
user-check
user-check-duotone
user-check-fill
user-check-sharp
user-check-sharp-duotone
user-check-sharp-fill
user-check-sharp-two-tone
user-check-two-tone
user-cog
user-cog-duotone
user-cog-fill
user-cog-sharp
user-cog-sharp-duotone
user-cog-sharp-fill
user-cog-sharp-two-tone
user-cog-two-tone
user-duotone
user-fill
user-heart
user-heart-duotone
user-heart-fill
user-heart-sharp
user-heart-sharp-duotone
User Key icon in other icon sets
User Key icon FAQ
Is the User Key icon free for commercial use?
Yes. Keyline Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the User Key icon in React?
Install @iconify/react and render <Icon icon="keyline-icons:user-key" />, or use “Copy code” on this page to get a standalone React component.
How do I add the User Key icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/keyline-icons/user-key.svg" alt="User Key icon">, or paste the SVG code inline to style it with CSS.