ICONYZ
English
Pencil Line icon from Phosphor

Pencil Line icon

ph:pencil-line

The Pencil Line icon (ph:pencil-line) 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
write, writing, editing, sign, signature, pencilline
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="m227.32 73.37l-44.69-44.68a16 16 0 0 0-22.63 0L36.69 152A15.86 15.86 0 0 0 32 163.31V208a16 16 0 0 0 16 16h168a8 8 0 0 0 0-16H115.32l112-112a16 16 0 0 0 0-22.63M136 75.31L152.69 92L68 176.69L51.31 160ZM48 208v-28.69L76.69 208Zm48-3.31L79.32 188L164 103.31L180.69 120Zm96-96L147.32 64l24-24L216 84.69Z"/></svg>

How to use the Pencil Line icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Related icons in Phosphor

Pencil Line icon in other icon sets

Pencil Line icon FAQ

Is the Pencil Line 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 Pencil Line icon in React?

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

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

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

Browse all Phosphor icons →