ICONYZ
English
Pencil icon from Jam Icons

Pencil icon

jam:pencil

The Pencil icon (jam:pencil) is a free SVG icon from the Jam Icons set by Michael Amprimo. It is drawn on a 24 × 24 grid. Jam 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
Jam Icons
Author
Michael Amprimo
License
MIT
Size
24 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M12.238 5.472L3.2 14.51l-.591 2.016l1.975-.571l9.068-9.068zM13.78 3.93l1.414 1.414l1.318-1.318a.5.5 0 0 0 0-.707l-.708-.707a.5.5 0 0 0-.707 0L13.781 3.93zm3.439-2.732l.707.707a2.5 2.5 0 0 1 0 3.535L5.634 17.733l-4.22 1.22a1 1 0 0 1-1.237-1.241l1.248-4.255l12.26-12.26a2.5 2.5 0 0 1 3.535 0z"/></svg>

How to use the Pencil icon

React

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

<Icon icon="jam:pencil" width="24" />

Vue

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

<template>
  <Icon icon="jam:pencil" width="24" />
</template>

Svelte

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

<Icon icon="jam:pencil" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="jam:pencil"></iconify-icon>

HTML image

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

Related icons in Jam Icons

Pencil icon in other icon sets

Pencil icon FAQ

Is the Pencil icon free for commercial use?

Yes. Jam 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="jam: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/jam/pencil.svg" alt="Pencil icon">, or paste the SVG code inline to style it with CSS.

Browse all Jam Icons →