Pen To Square icon
lineicons:pen-to-square
The Pen To Square icon (lineicons:pen-to-square) 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"><path fill="currentColor" fill-rule="evenodd" d="M20.875 2.513a1.75 1.75 0 0 0-2.475 0L13.242 7.67a2.25 2.25 0 0 0-.646 1.349l-.19 1.747a.75.75 0 0 0 .827.826l1.747-.189a2.25 2.25 0 0 0 1.35-.646L21.486 5.6a1.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.09-.82a.75.75 0 0 1 .215-.45z" clip-rule="evenodd"/><path fill="currentColor" d="M5.5 3.25h10.041l-1.5 1.5H5.5a.75.75 0 0 0-.75.75v13c0 .414.336.75.75.75h13a.75.75 0 0 0 .75-.75V9.958l1.5-1.5V18.5a2.25 2.25 0 0 1-2.25 2.25h-13a2.25 2.25 0 0 1-2.25-2.25v-13A2.25 2.25 0 0 1 5.5 3.25"/></svg>How to use the Pen To Square icon
React
import { Icon } from "@iconify/react";
<Icon icon="lineicons:pen-to-square" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="lineicons:pen-to-square" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="lineicons:pen-to-square" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[lineicons--pen-to-square]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/lineicons -->
<div class="i-lineicons:pen-to-square"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="lineicons:pen-to-square"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/lineicons/pen-to-square.svg" alt="Pen To Square icon" width="24" height="24">Related icons in Lineicons
Pen To Square icon in other icon sets
Pen To Square icon FAQ
Is the Pen To Square 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 Pen To Square icon in React?
Install @iconify/react and render <Icon icon="lineicons:pen-to-square" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Pen To Square icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/lineicons/pen-to-square.svg" alt="Pen To Square icon">, or paste the SVG code inline to style it with CSS.