ICONYZ
English
Pen icon from Pepicons Pencil

Pen icon

pepicons-pencil:pen

The Pen icon (pepicons-pencil:pen) is a free SVG icon from the Pepicons Pencil set by CyCraft. It is drawn on a 20 × 20 grid. Pepicons Pencil icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Pepicons Pencil
Author
CyCraft
License
CC-BY-4.0
Size
20 × 20
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><g fill="currentColor" fill-rule="evenodd" clip-rule="evenodd"><path d="M3.944 11.79a.5.5 0 0 1 .141-.277L14.163 1.435a.5.5 0 0 1 .707 0l3.89 3.89a.5.5 0 0 1 0 .706L8.68 16.11a.5.5 0 0 1-.277.14l-4.595.706a.5.5 0 0 1-.57-.57zm.964.314l-.577 3.76l3.759-.578l9.609-9.608l-3.183-3.182z"/><path d="m15.472 8.173l-3.537-3.53l.707-.708l3.536 3.53z"/></g></svg>

How to use the Pen icon

React

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

<Icon icon="pepicons-pencil:pen" width="24" />

Vue

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

<template>
  <Icon icon="pepicons-pencil:pen" width="24" />
</template>

Svelte

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

<Icon icon="pepicons-pencil:pen" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="pepicons-pencil:pen"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/pepicons-pencil/pen.svg" alt="Pen icon" width="24" height="24">

Related icons in Pepicons Pencil

Pen icon in other icon sets

Pen icon FAQ

Is the Pen icon free for commercial use?

Yes. Pepicons Pencil icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.

How do I use the Pen icon in React?

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

How do I add the Pen icon to a web page?

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

Browse all Pepicons Pencil icons →