File Pencil icon
lineicons:file-pencil
The File Pencil icon (lineicons:file-pencil) is a free SVG icon from the Lineicons set. It is drawn on a 24 × 24 grid. Lineicons 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.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="currentColor" fill-rule="evenodd" clip-rule="evenodd"><path d="M9.75 20.5V22h-3a2.25 2.25 0 0 1-2.25-2.25V9.621c0-.596.237-1.169.659-1.59l5.367-5.371A2.25 2.25 0 0 1 12.118 2h5.132a2.25 2.25 0 0 1 2.25 2.25v5.5H18v-5.5a.75.75 0 0 0-.75-.75h-5.002l.003 3.998A2.25 2.25 0 0 1 10 9.75H6v10c0 .414.336.75.75.75zm.999-15.941L7.059 8.25h2.942a.75.75 0 0 0 .75-.75z"/><path d="M20.299 12.339a1.75 1.75 0 0 0-2.475 0l-5.158 5.158a2.25 2.25 0 0 0-.646 1.35l-.19 1.746a.75.75 0 0 0 .827.826l1.747-.189a2.25 2.25 0 0 0 1.349-.646l5.158-5.158a1.75 1.75 0 0 0 0-2.475zm-2.277 1.923l.966.966l-4.296 4.296a.75.75 0 0 1-.45.215l-.82.089l.089-.82a.75.75 0 0 1 .215-.45z"/></g></svg>How to use the File Pencil icon
React
import { Icon } from "@iconify/react";
<Icon icon="lineicons:file-pencil" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="lineicons:file-pencil" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="lineicons:file-pencil" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[lineicons--file-pencil]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/lineicons -->
<div class="i-lineicons:file-pencil"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="lineicons:file-pencil"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/lineicons/file-pencil.svg" alt="File Pencil icon" width="24" height="24">Related icons in Lineicons
File Pencil icon in other icon sets
File Pencil icon FAQ
Is the File Pencil icon free for commercial use?
Yes. Lineicons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the File Pencil icon in React?
Install @iconify/react and render <Icon icon="lineicons:file-pencil" />, or use “Copy code” on this page to get a standalone React component.
How do I add the File Pencil icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/lineicons/file-pencil.svg" alt="File Pencil icon">, or paste the SVG code inline to style it with CSS.