Pencil icon
streamline:pencil
The Pencil icon (streamline:pencil) is a free SVG icon from the Streamline set. It is drawn on a 14 × 14 grid. Streamline 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
- Streamline
- Author
- Streamline
- License
- CC-BY-4.0
- Size
- 14 × 14
- Category
- InterfaceEssential
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" d="M5 12.24L.5 13.5L1.76 9L10 .8a1 1 0 0 1 1.43 0l1.77 1.78a1 1 0 0 1 0 1.42z"/></svg>How to use the Pencil icon
React
import { Icon } from "@iconify/react";
<Icon icon="streamline:pencil" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="streamline:pencil" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="streamline:pencil" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[streamline--pencil]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/streamline -->
<div class="i-streamline:pencil"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="streamline:pencil"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/streamline/pencil.svg" alt="Pencil icon" width="24" height="24">Related icons in Streamline
Pencil icon in other icon sets
Pencil icon FAQ
Is the Pencil icon free for commercial use?
Yes. Streamline 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 Pencil icon in React?
Install @iconify/react and render <Icon icon="streamline: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/streamline/pencil.svg" alt="Pencil icon">, or paste the SVG code inline to style it with CSS.