Pencil icon
dinkie-icons:pencil
The Pencil icon (dinkie-icons:pencil) is a free SVG icon from the Dinkie Icons set by atelierAnchor. It is drawn on a 12 × 12 grid. Dinkie 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
- Dinkie Icons
- Author
- atelierAnchor
- License
- MIT
- Size
- 12 × 12
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="currentColor" d="M0 12h5v-1h1v-1H5V9H4v2H2v-1H1V8h2V7H2V6H1v1H0Zm3-3h1V8H3Zm3 1h1V9H6ZM2 6h1V5H2Zm3 3h1V8H5ZM3 7h1V6H3Zm4 2h1V8H7ZM3 5h1V4H3Zm3 3h1V7H6ZM4 6h1V5H4Zm4 2h1V7H8ZM4 4h1V3H4Zm3 3h1V6H7ZM5 5h1V4H5Zm4 2h1V6H9ZM5 3h1V2H5Zm3 3h1V5H8ZM6 4h1V3H6Zm4 2h1V3h-1v1H9v1h1ZM7 3h1V2h1V1H6v1h1Zm2 0h1V2H9Zm0 0"/></svg>How to use the Pencil icon
React
import { Icon } from "@iconify/react";
<Icon icon="dinkie-icons:pencil" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="dinkie-icons:pencil" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="dinkie-icons:pencil" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[dinkie-icons--pencil]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/dinkie-icons -->
<div class="i-dinkie-icons:pencil"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="dinkie-icons:pencil"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/dinkie-icons/pencil.svg" alt="Pencil icon" width="24" height="24">Related icons in Dinkie Icons
Pencil icon in other icon sets
Pencil icon FAQ
Is the Pencil icon free for commercial use?
Yes. Dinkie 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="dinkie-icons: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/dinkie-icons/pencil.svg" alt="Pencil icon">, or paste the SVG code inline to style it with CSS.