pencil icon
pencil from IconPark by ByteDance · Color · Others · Apache-2.0 Free for personal and commercial use.
- Name
- pencil
- Set
- IconPark
- Style
- Color
- Category
- Others
- Viewbox
- 48×48
- License
- Apache 2.0
The same icon in other sets
pencilAkar IconspencilBootstrap IconspencilBoxIcons v2pencilBoxIcons v2 SolidpencilEmoji One (Colored)pencilFramework7 IconspencilFont Awesome 6 SolidpencilFont Awesome SolidpencilFluent EmojipencilFluent Emoji FlatpencilFluent Emoji High ContrastpencilFirefox OS EmojipencilHeroIconspencilHuge IconspencilHumbleiconspencilIconPark OutlinepencilIconPark SolidpencilIonIconspencilJam IconspencilMaterial Line IconspencilLucidepencilMajesticonspencilMaterial Design Iconspencil-fillMingCute Icon
More others icons from IconPark
Use the pencil icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 48 48"><g fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="4"><path d="M30.9995 8.99902L38.9995 16.999"/><path d="M7.99953 31.999L35.9994 4L43.9995 11.999L15.9995 39.999L5.99951 41.999L7.99953 31.999Z"/><path d="M30.9995 8.99902L38.9995 16.999"/><path d="M8.99951 31.999L15.9995 38.999"/><path d="M12.9995 34.999L34.9995 12.999"/></g></svg>
React
import type { SVGProps } from "react";
export function IconParkPencil(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 48 48"><g fill="none" stroke="#000" strokeLinecap="round" strokeLinejoin="round" strokeWidth="4"><path d="M30.9995 8.99902L38.9995 16.999"/><path d="M7.99953 31.999L35.9994 4L43.9995 11.999L15.9995 39.999L5.99951 41.999L7.99953 31.999Z"/><path d="M30.9995 8.99902L38.9995 16.999"/><path d="M8.99951 31.999L15.9995 38.999"/><path d="M12.9995 34.999L34.9995 12.999"/></g></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 48 48"><g fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="4"><path d="M30.9995 8.99902L38.9995 16.999"/><path d="M7.99953 31.999L35.9994 4L43.9995 11.999L15.9995 39.999L5.99951 41.999L7.99953 31.999Z"/><path d="M30.9995 8.99902L38.9995 16.999"/><path d="M8.99951 31.999L15.9995 38.999"/><path d="M12.9995 34.999L34.9995 12.999"/></g></svg> </template>
CSS
.icon-pencil {
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%2048%2048%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%224%22%3E%3Cpath%20d%3D%22M30.9995%208.99902L38.9995%2016.999%22%2F%3E%3Cpath%20d%3D%22M7.99953%2031.999L35.9994%204L43.9995%2011.999L15.9995%2039.999L5.99951%2041.999L7.99953%2031.999Z%22%2F%3E%3Cpath%20d%3D%22M30.9995%208.99902L38.9995%2016.999%22%2F%3E%3Cpath%20d%3D%22M8.99951%2031.999L15.9995%2038.999%22%2F%3E%3Cpath%20d%3D%22M12.9995%2034.999L34.9995%2012.999%22%2F%3E%3C%2Fg%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%2048%2048%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%224%22%3E%3Cpath%20d%3D%22M30.9995%208.99902L38.9995%2016.999%22%2F%3E%3Cpath%20d%3D%22M7.99953%2031.999L35.9994%204L43.9995%2011.999L15.9995%2039.999L5.99951%2041.999L7.99953%2031.999Z%22%2F%3E%3Cpath%20d%3D%22M30.9995%208.99902L38.9995%2016.999%22%2F%3E%3Cpath%20d%3D%22M8.99951%2031.999L15.9995%2038.999%22%2F%3E%3Cpath%20d%3D%22M12.9995%2034.999L34.9995%2012.999%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/icon-park/pencil.svg?color=%231a73e8&size=48