line from Huge Icons by Hugeicons · Stroke · MIT Free for personal and commercial use.

Name
line
Set
Huge Icons
Style
Stroke
Viewbox
24×24
License
MIT

The same icon in other sets

Related icons in Huge Icons

Use the line icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" 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>

React

import type { SVGProps } from "react";

export function HugeiconsLine(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" strokeLinejoin="round" strokeWidth="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 strokeLinecap="round" d="M6 8.5v4h1m2-4v4m2.1 0v-4l2.4 4v-4m4 0h-1.9v2m1.9 2h-1.9v-2m0 0h1.44"/></g></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" 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>
</template>

CSS

.icon-line {
  width: 24px;
  height: 24px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%221.5%22%3E%3Cpath%20d%3D%22M2%2010.5C2%2015.194%206.477%2019%2012%2019q1.03-.001%202-.17V22c1.67-1.635%204.5-4.5%206.256-6.703C21.356%2013.932%2022%2012.28%2022%2010.5C22%205.806%2017.523%202%2012%202S2%205.806%202%2010.5Z%22%2F%3E%3Cpath%20stroke-linecap%3D%22round%22%20d%3D%22M6%208.5v4h1m2-4v4m2.1%200v-4l2.4%204v-4m4%200h-1.9v2m1.9%202h-1.9v-2m0%200h1.44%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%221.5%22%3E%3Cpath%20d%3D%22M2%2010.5C2%2015.194%206.477%2019%2012%2019q1.03-.001%202-.17V22c1.67-1.635%204.5-4.5%206.256-6.703C21.356%2013.932%2022%2012.28%2022%2010.5C22%205.806%2017.523%202%2012%202S2%205.806%202%2010.5Z%22%2F%3E%3Cpath%20stroke-linecap%3D%22round%22%20d%3D%22M6%208.5v4h1m2-4v4m2.1%200v-4l2.4%204v-4m4%200h-1.9v2m1.9%202h-1.9v-2m0%200h1.44%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/hugeicons/line.svg?color=%231a73e8&size=48