Pencil icon
typcn:pencil
The Pencil icon (typcn:pencil) is a free SVG icon from the Typicons set by Stephen Hutchings. It is drawn on a 24 × 24 grid. Typicons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Typicons
- Author
- Stephen Hutchings
- License
- CC-BY-SA-4.0
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M21 6.879L17.121 3A1.497 1.497 0 0 0 15 3L4.061 13.939c-.293.293-.558.727-.75 1.188C3.119 15.59 3 16.086 3 16.5V21h4.5c.414 0 .908-.119 1.371-.311s.896-.457 1.189-.75L21 9a1.497 1.497 0 0 0 0-2.121M5.768 15.061l8.293-8.293L15.293 8L7 16.293zM7.5 19H6l-1-1v-1.5c0-.077.033-.305.158-.605c.01-.02 2.967 2.938 2.967 2.938c-.322.134-.548.167-.625.167m1.439-.768L7.707 17L16 8.707l1.232 1.232zm9-9L14.767 6.06l1.293-1.293l3.17 3.172z"/></svg>How to use the Pencil icon
React
import { Icon } from "@iconify/react";
<Icon icon="typcn:pencil" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="typcn:pencil" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="typcn:pencil" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[typcn--pencil]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/typcn -->
<div class="i-typcn:pencil"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="typcn:pencil"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/typcn/pencil.svg" alt="Pencil icon" width="24" height="24">Pencil icon in other icon sets
Pencil icon FAQ
Is the Pencil icon free for commercial use?
Yes. Typicons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license.
How do I use the Pencil icon in React?
Install @iconify/react and render <Icon icon="typcn: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/typcn/pencil.svg" alt="Pencil icon">, or paste the SVG code inline to style it with CSS.