User icon
duo-icons:user
The User icon (duo-icons:user) is a free SVG icon from the Duoicons set by fernandcf. It is drawn on a 24 × 24 grid. Duoicons 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.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M12 13c2.396 0 4.575.694 6.178 1.671c.8.49 1.484 1.065 1.978 1.69c.486.616.844 1.352.844 2.139c0 .845-.411 1.511-1.003 1.986c-.56.45-1.299.748-2.084.956c-1.578.417-3.684.558-5.913.558s-4.335-.14-5.913-.558c-.785-.208-1.524-.506-2.084-.956C3.41 20.01 3 19.345 3 18.5c0-.787.358-1.523.844-2.139c.494-.625 1.177-1.2 1.978-1.69C7.425 13.694 9.605 13 12 13" class="duoicon-primary-layer"/><path fill="currentColor" d="M12 2c3.849 0 6.255 4.167 4.33 7.5A5 5 0 0 1 12 12c-3.849 0-6.255-4.167-4.33-7.5A5 5 0 0 1 12 2" class="duoicon-secondary-layer" opacity=".3"/></svg>How to use the User icon
React
import { Icon } from "@iconify/react";
<Icon icon="duo-icons:user" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="duo-icons:user" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="duo-icons:user" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[duo-icons--user]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/duo-icons -->
<div class="i-duo-icons:user"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="duo-icons:user"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/duo-icons/user.svg" alt="User icon" width="24" height="24">Related icons in Duoicons
User icon in other icon sets
User icon FAQ
Is the User icon free for commercial use?
Yes. Duoicons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the User icon in React?
Install @iconify/react and render <Icon icon="duo-icons:user" />, or use “Copy code” on this page to get a standalone React component.
How do I add the User icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/duo-icons/user.svg" alt="User icon">, or paste the SVG code inline to style it with CSS.