ICONYZ
English
Line Segment icon from Phosphor

Line Segment icon

ph:line-segment

The Line Segment icon (ph:line-segment) is a free SVG icon from the Phosphor set by Phosphor Icons. It is drawn on a 256 × 256 grid. Phosphor 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
Phosphor
Author
Phosphor Icons
License
MIT
Size
256 × 256
Tags
shapes, drawing, path, pen, vector, linesegment
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 256 256"><path fill="currentColor" d="M214.64 41.36a32 32 0 0 0-50.2 38.89l-84.19 84.19a32.06 32.06 0 0 0-38.89 4.94a32 32 0 1 0 50.2 6.37l84.19-84.19a32 32 0 0 0 38.89-50.2m-139.33 162a16 16 0 0 1-22.64-22.64a16 16 0 0 1 22.63 0a16 16 0 0 1 .01 22.61Zm128-128a16 16 0 1 1 0-22.63a16 16 0 0 1 .02 22.57Z"/></svg>

How to use the Line Segment icon

React

import { Icon } from "@iconify/react";

<Icon icon="ph:line-segment" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="ph:line-segment" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="ph:line-segment" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[ph--line-segment]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/ph -->
<div class="i-ph:line-segment"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="ph:line-segment"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/ph/line-segment.svg" alt="Line Segment icon" width="24" height="24">

Related icons in Phosphor

Line Segment icon in other icon sets

Line Segment icon FAQ

Is the Line Segment icon free for commercial use?

Yes. Phosphor icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Line Segment icon in React?

Install @iconify/react and render <Icon icon="ph:line-segment" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Line Segment icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/ph/line-segment.svg" alt="Line Segment icon">, or paste the SVG code inline to style it with CSS.

Browse all Phosphor icons →