Pen Line icon
keyline-icons:pen-line
The Pen Line icon (keyline-icons:pen-line) is a free SVG icon from the Keyline Icons set. It is drawn on a 24 × 24 grid. Keyline 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
- Keyline Icons
- Author
- Keyline Icons
- License
- MIT
- Size
- 24 × 24
- Tags
- penline
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21.0237 7.6904L9.8567 18.8573L2 22L5.1427 14.1433L16.3096 2.9763C16.9348 2.3512 17.7826 2 18.6667 2C19.5507 2 20.3986 2.3512 21.0237 2.9763C21.6488 3.6014 22 4.4493 22 5.3333C22 6.2174 21.6488 7.0652 21.0237 7.6904ZM15.0638 4.2222L19.7778 8.9362M13.1111 22L22 22"/></svg>How to use the Pen Line icon
React
import { Icon } from "@iconify/react";
<Icon icon="keyline-icons:pen-line" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="keyline-icons:pen-line" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="keyline-icons:pen-line" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[keyline-icons--pen-line]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/keyline-icons -->
<div class="i-keyline-icons:pen-line"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="keyline-icons:pen-line"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/keyline-icons/pen-line.svg" alt="Pen Line icon" width="24" height="24">Related icons in Keyline Icons
pen
pen-duotone
pen-fill
pen-line-duotone
pen-line-fill
pen-line-sharp
pen-line-sharp-duotone
pen-line-sharp-fill
pen-line-sharp-two-tone
pen-line-two-tone
pen-off
pen-off-duotone
pen-off-fill
pen-off-sharp
pen-off-sharp-duotone
pen-off-sharp-fill
pen-off-sharp-two-tone
pen-off-two-tone
pen-sharp
pen-sharp-duotone
pen-sharp-fill
pen-sharp-two-tone
pen-sparkles
pen-sparkles-duotone
Pen Line icon in other icon sets
Pen Line icon FAQ
Is the Pen Line icon free for commercial use?
Yes. Keyline Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Pen Line icon in React?
Install @iconify/react and render <Icon icon="keyline-icons:pen-line" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Pen Line icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/keyline-icons/pen-line.svg" alt="Pen Line icon">, or paste the SVG code inline to style it with CSS.