Line icon
hugeicons:line
The Line icon (hugeicons:line) is a free SVG icon from the Huge Icons set by Hugeicons. It is drawn on a 24 × 24 grid. Huge 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
- Huge Icons
- Author
- Hugeicons
- 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-linejoin="round" stroke-width="1.5"><path d="M2 10.5C2 15.194 6.477 19 12 19q1.03-.001 2-.17V22c1.67-1.635 4.5-4.5 6.256-6.703C21.356 13.932 22 12.28 22 10.5C22 5.806 17.523 2 12 2S2 5.806 2 10.5Z"/><path stroke-linecap="round" d="M6 8.5v4h1m2-4v4m2.1 0v-4l2.4 4v-4m4 0h-1.9v2m1.9 2h-1.9v-2m0 0h1.44"/></g></svg>How to use the Line icon
React
import { Icon } from "@iconify/react";
<Icon icon="hugeicons:line" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="hugeicons:line" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="hugeicons:line" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[hugeicons--line]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/hugeicons -->
<div class="i-hugeicons:line"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="hugeicons:line"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/hugeicons/line.svg" alt="Line icon" width="24" height="24">Related icons in Huge Icons
Line icon in other icon sets
Line icon FAQ
Is the Line icon free for commercial use?
Yes. Huge Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Line icon in React?
Install @iconify/react and render <Icon icon="hugeicons:line" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Line icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/hugeicons/line.svg" alt="Line icon">, or paste the SVG code inline to style it with CSS.