ICONYZ
English
Pencil icon from OpenMoji

Pencil icon

openmoji:pencil

The Pencil icon (openmoji:pencil) is a free SVG icon from the OpenMoji set. It is drawn on a 72 × 72 grid. OpenMoji icons 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
OpenMoji
Author
OpenMoji
License
CC-BY-SA-4.0
Size
72 × 72
Category
Objects
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="72" height="72" viewBox="0 0 72 72"><path fill="#3f3f3f" d="m14.594 53.154l3.66 3.66l-5.63 2.279z"/><path fill="#f4aa41" d="m18.038 41.876l18.83-18.83l11.313 11.313l-18.67 18.67"/><path fill="#a57939" d="m14.413 52.566l3.515-9.171l9.9 9.899l-9.172 3.515"/><path fill="#ea5a47" d="m42.921 16.993l7.502-7.502l11.313 11.313l-7.439 7.438"/><path fill="#9b9b9a" d="m35.65 24.264l7.682-7.682l11.313 11.313l-7.617 7.617"/><g fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2"><path d="m18.63 56.82l9.198-3.526l25.993-25.993l-9.9-9.9l-25.993 25.994l-3.538 9.208zm28.705-42.833l3.504-3.503l9.899 9.899l-3.474 3.474m-38.708 18.91l9.9 9.899"/><path d="m14.398 52.582l-2.491 6.733l6.749-2.506M36.91 25.007l9.512 9.513"/></g></svg>

How to use the Pencil icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

<img src="https://iconyz.com/api/public/svg/openmoji/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. OpenMoji icons 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="openmoji: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/openmoji/pencil.svg" alt="Pencil icon">, or paste the SVG code inline to style it with CSS.

Browse all OpenMoji icons →