Pencil icon
glyphs:pencil
The Pencil icon (glyphs:pencil) is a free SVG icon from the Glyphs set by Goran Spasojevic. It is drawn on a 80 × 80 grid. Glyphs 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
- Glyphs
- Author
- Goran Spasojevic
- License
- MIT
- Size
- 80 × 80
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80" viewBox="0 0 80 80"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="M48 68a8 8 0 1 1-16 0V19.613a16 16 0 0 1 3.506-9.996L39.2 5a1.024 1.024 0 0 1 1.6 0l3.694 4.617A16 16 0 0 1 48 19.613z"/><path d="m47.926 18.074l-3.217 3.218a1 1 0 0 1-1.414 0l-2.583-2.584a1 1 0 0 0-1.415 0l-2.583 2.584a1 1 0 0 1-1.415 0l-3.224-3.226m12.723-8.069h-9.596M32.008 60h15.991"/></g></svg>How to use the Pencil icon
React
import { Icon } from "@iconify/react";
<Icon icon="glyphs:pencil" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="glyphs:pencil" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="glyphs:pencil" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[glyphs--pencil]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/glyphs -->
<div class="i-glyphs:pencil"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="glyphs:pencil"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/glyphs/pencil.svg" alt="Pencil icon" width="24" height="24">Related icons in Glyphs
Pencil icon in other icon sets
Pencil icon FAQ
Is the Pencil icon free for commercial use?
Yes. Glyphs icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Pencil icon in React?
Install @iconify/react and render <Icon icon="glyphs:pencil" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Pencil icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/glyphs/pencil.svg" alt="Pencil icon">, or paste the SVG code inline to style it with CSS.