ICONYZ
English
Pen To Square icon from Prime Icons

Pen To Square icon

prime:pen-to-square

The Pen To Square icon (prime:pen-to-square) is a free SVG icon from the Prime Icons set by PrimeTek. It is drawn on a 24 × 24 grid. Prime 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
Prime Icons
Author
PrimeTek
License
MIT
Size
24 × 24
Tags
pento, tosquare, pentosquare
Download SVG

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="M17.907 4.93c.104-.105.294-.186.539-.18a.85.85 0 0 1 .572.216c.13.13.222.34.231.575s-.065.413-.167.515l-7.49 7.5l-1.273.116l.1-1.245zm2.173-1.024c-.437-.438-1.037-.643-1.6-.656s-1.182.167-1.635.62l-7.682 7.692a.75.75 0 0 0-.217.47l-.194 2.407a.75.75 0 0 0 .816.807l2.43-.22a.75.75 0 0 0 .463-.218l7.682-7.692c.456-.456.627-1.073.605-1.635a2.37 2.37 0 0 0-.668-1.575M5.812 4.75a2.57 2.57 0 0 0-2.563 2.562v10.875a2.57 2.57 0 0 0 2.563 2.563h10.875a2.57 2.57 0 0 0 2.563-2.562V12.75a.75.75 0 0 0-1.5 0v5.438c0 .582-.48 1.062-1.063 1.062H5.812c-.583 0-1.063-.48-1.063-1.062V7.312c0-.582.48-1.062 1.063-1.062h5.437a.75.75 0 0 0 0-1.5z" clip-rule="evenodd"/></svg>

How to use the Pen To Square icon

React

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

<Icon icon="prime:pen-to-square" width="24" />

Vue

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

<template>
  <Icon icon="prime:pen-to-square" width="24" />
</template>

Svelte

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

<Icon icon="prime:pen-to-square" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[prime--pen-to-square]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/prime -->
<div class="i-prime: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="prime:pen-to-square"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/prime/pen-to-square.svg" alt="Pen To Square icon" width="24" height="24">

Related icons in Prime Icons

Pen To Square icon in other icon sets

Pen To Square icon FAQ

Is the Pen To Square icon free for commercial use?

Yes. Prime Icons 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="prime: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/prime/pen-to-square.svg" alt="Pen To Square icon">, or paste the SVG code inline to style it with CSS.

Browse all Prime Icons →