ICONYZ
English
Pencil icon from Myna UI Icons

Pencil icon

mynaui:pencil

The Pencil icon (mynaui:pencil) is a free SVG icon from the Myna UI Icons set by Praveen Juge. It is drawn on a 24 × 24 grid. Myna UI 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
Myna UI Icons
Author
Praveen Juge
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="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M18.774 10.221L8.801 20.2a2.73 2.73 0 0 1-1.933.8H3v-3.844c0-.724.288-1.419.8-1.931m5 4.974l-5-4.974m0 0l9.983-9.995m0 0l1.426-1.428a2.733 2.733 0 0 1 3.867-.001l1.126 1.127a2.733 2.733 0 0 1 0 3.865l-1.428 1.428M13.783 5.23l4.991 4.991"/></svg>

How to use the Pencil icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Related icons in Myna UI Icons

Pencil icon in other icon sets

Pencil icon FAQ

Is the Pencil icon free for commercial use?

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

Browse all Myna UI Icons →