pen icon
pen from Unicons by Iconscout · Line · User Interface · Apache-2.0 Free for personal and commercial use.
- Name
- pen
- Set
- Unicons
- Style
- Line
- Category
- User Interface
- Viewbox
- 24×24
- License
- Apache 2.0
The same icon in other sets
penBootstrap IconspenBoxIcons v2penBoxIcons v2 SolidpenCarbonpenEmoji One (Colored)penFont Awesome 6 SolidpenFont Awesome Solidpen-outlineFlowbite Iconspen-16-filledFluent UI System IconspenFluent EmojipenFluent Emoji FlatpenFluent Emoji High Contrastpencss.ggpenJam IconspenLine AwesomepenLucidepenMage IconspenMaterial Design Iconspen-fillMingCute IconpenMyna UI IconspenNoto EmojipenOpenMojipenPhosphorpen-boldSolar
More user interface icons from Unicons
Use the pen icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M22 7.24a1 1 0 0 0-.29-.71l-4.24-4.24a1 1 0 0 0-.71-.29a1 1 0 0 0-.71.29l-2.83 2.83L2.29 16.05a1 1 0 0 0-.29.71V21a1 1 0 0 0 1 1h4.24a1 1 0 0 0 .76-.29l10.87-10.93L21.71 8a1.2 1.2 0 0 0 .22-.33a1 1 0 0 0 0-.24a.7.7 0 0 0 0-.14ZM6.83 20H4v-2.83l9.93-9.93l2.83 2.83ZM18.17 8.66l-2.83-2.83l1.42-1.41l2.82 2.82Z"/></svg>
React
import type { SVGProps } from "react";
export function UilPen(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M22 7.24a1 1 0 0 0-.29-.71l-4.24-4.24a1 1 0 0 0-.71-.29a1 1 0 0 0-.71.29l-2.83 2.83L2.29 16.05a1 1 0 0 0-.29.71V21a1 1 0 0 0 1 1h4.24a1 1 0 0 0 .76-.29l10.87-10.93L21.71 8a1.2 1.2 0 0 0 .22-.33a1 1 0 0 0 0-.24a.7.7 0 0 0 0-.14ZM6.83 20H4v-2.83l9.93-9.93l2.83 2.83ZM18.17 8.66l-2.83-2.83l1.42-1.41l2.82 2.82Z"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M22 7.24a1 1 0 0 0-.29-.71l-4.24-4.24a1 1 0 0 0-.71-.29a1 1 0 0 0-.71.29l-2.83 2.83L2.29 16.05a1 1 0 0 0-.29.71V21a1 1 0 0 0 1 1h4.24a1 1 0 0 0 .76-.29l10.87-10.93L21.71 8a1.2 1.2 0 0 0 .22-.33a1 1 0 0 0 0-.24a.7.7 0 0 0 0-.14ZM6.83 20H4v-2.83l9.93-9.93l2.83 2.83ZM18.17 8.66l-2.83-2.83l1.42-1.41l2.82 2.82Z"/></svg> </template>
CSS
.icon-pen {
width: 24px;
height: 24px;
background-color: currentColor;
-webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M22%207.24a1%201%200%200%200-.29-.71l-4.24-4.24a1%201%200%200%200-.71-.29a1%201%200%200%200-.71.29l-2.83%202.83L2.29%2016.05a1%201%200%200%200-.29.71V21a1%201%200%200%200%201%201h4.24a1%201%200%200%200%20.76-.29l10.87-10.93L21.71%208a1.2%201.2%200%200%200%20.22-.33a1%201%200%200%200%200-.24a.7.7%200%200%200%200-.14ZM6.83%2020H4v-2.83l9.93-9.93l2.83%202.83ZM18.17%208.66l-2.83-2.83l1.42-1.41l2.82%202.82Z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M22%207.24a1%201%200%200%200-.29-.71l-4.24-4.24a1%201%200%200%200-.71-.29a1%201%200%200%200-.71.29l-2.83%202.83L2.29%2016.05a1%201%200%200%200-.29.71V21a1%201%200%200%200%201%201h4.24a1%201%200%200%200%20.76-.29l10.87-10.93L21.71%208a1.2%201.2%200%200%200%20.22-.33a1%201%200%200%200%200-.24a.7.7%200%200%200%200-.14ZM6.83%2020H4v-2.83l9.93-9.93l2.83%202.83ZM18.17%208.66l-2.83-2.83l1.42-1.41l2.82%202.82Z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/uil/pen.svg?color=%231a73e8&size=48