User icon
codex:user
The User icon (codex:user) is a free SVG icon from the CodeX Icons set by CodeX. It is drawn on a 24 × 24 grid. CodeX 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
- CodeX Icons
- Author
- CodeX
- License
- MIT
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="2"><path d="M12 10c.714 0 1.239-.434 1.54-.885c.304-.457.46-1.03.46-1.615c0-.584-.156-1.158-.46-1.615C13.238 5.435 12.714 5 12 5s-1.239.434-1.54.885c-.304.457-.46 1.03-.46 1.615c0 .584.156 1.158.46 1.615c.301.45.825.885 1.54.885Z"/><ellipse cx="12" cy="16" rx="3" ry="5" transform="rotate(-90 12 16)"/></g></svg>How to use the User icon
React
import { Icon } from "@iconify/react";
<Icon icon="codex:user" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="codex:user" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="codex:user" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[codex--user]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/codex -->
<div class="i-codex:user"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="codex:user"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/codex/user.svg" alt="User icon" width="24" height="24">Related icons in CodeX Icons
User icon in other icon sets
User icon FAQ
Is the User icon free for commercial use?
Yes. CodeX Icons 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="codex: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/codex/user.svg" alt="User icon">, or paste the SVG code inline to style it with CSS.