pen icon
pen from BoxIcons v2 Solid by Boxicons · Solid · MIT Free for personal and commercial use.
- Name
- pen
- Set
- BoxIcons v2 Solid
- Style
- Solid
- Viewbox
- 24×24
- License
- MIT
The same icon in other sets
penBootstrap IconspenBoxIcons v2penCarbonpenEmoji 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-boldSolarpenTDesign Icons
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="M11.587 6.999H7.702a2 2 0 0 0-1.88 1.316l-3.76 10.342c-.133.365-.042.774.232 1.049l.293.293l6.422-6.422c-.001-.026-.008-.052-.008-.078a1.5 1.5 0 1 1 1.5 1.5c-.026 0-.052-.007-.078-.008l-6.422 6.422l.293.293a1 1 0 0 0 1.049.232l10.342-3.761a2 2 0 0 0 1.316-1.88v-3.885L19 10.414L13.586 5zm8.353 2.062l-5-5l2.12-2.121l5 5z"/></svg>
React
import type { SVGProps } from "react";
export function BxsPen(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="M11.587 6.999H7.702a2 2 0 0 0-1.88 1.316l-3.76 10.342c-.133.365-.042.774.232 1.049l.293.293l6.422-6.422c-.001-.026-.008-.052-.008-.078a1.5 1.5 0 1 1 1.5 1.5c-.026 0-.052-.007-.078-.008l-6.422 6.422l.293.293a1 1 0 0 0 1.049.232l10.342-3.761a2 2 0 0 0 1.316-1.88v-3.885L19 10.414L13.586 5zm8.353 2.062l-5-5l2.12-2.121l5 5z"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M11.587 6.999H7.702a2 2 0 0 0-1.88 1.316l-3.76 10.342c-.133.365-.042.774.232 1.049l.293.293l6.422-6.422c-.001-.026-.008-.052-.008-.078a1.5 1.5 0 1 1 1.5 1.5c-.026 0-.052-.007-.078-.008l-6.422 6.422l.293.293a1 1 0 0 0 1.049.232l10.342-3.761a2 2 0 0 0 1.316-1.88v-3.885L19 10.414L13.586 5zm8.353 2.062l-5-5l2.12-2.121l5 5z"/></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%22M11.587%206.999H7.702a2%202%200%200%200-1.88%201.316l-3.76%2010.342c-.133.365-.042.774.232%201.049l.293.293l6.422-6.422c-.001-.026-.008-.052-.008-.078a1.5%201.5%200%201%201%201.5%201.5c-.026%200-.052-.007-.078-.008l-6.422%206.422l.293.293a1%201%200%200%200%201.049.232l10.342-3.761a2%202%200%200%200%201.316-1.88v-3.885L19%2010.414L13.586%205zm8.353%202.062l-5-5l2.12-2.121l5%205z%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%22M11.587%206.999H7.702a2%202%200%200%200-1.88%201.316l-3.76%2010.342c-.133.365-.042.774.232%201.049l.293.293l6.422-6.422c-.001-.026-.008-.052-.008-.078a1.5%201.5%200%201%201%201.5%201.5c-.026%200-.052-.007-.078-.008l-6.422%206.422l.293.293a1%201%200%200%200%201.049.232l10.342-3.761a2%202%200%200%200%201.316-1.88v-3.885L19%2010.414L13.586%205zm8.353%202.062l-5-5l2.12-2.121l5%205z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/bxs/pen.svg?color=%231a73e8&size=48