icons/Octicons/pencilOpen in browser →

pencil · Octicons

Free SVG pencil icon from Octicons. Rendered at 24×24 in the filled style and licensed under MIT. Copy directly as SVG, React (JSX), or Vue. Download as SVG or PNG. No login, no attribution required for MIT licensed icons.

pencil icon — OcticonsFree pencil SVG icon from Octicons, filled style, MIT licensed.

Tags

  • pencil

Code

HTML / SVG
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><g transform="scale(1) translate(0 0)"><path fill-rule="evenodd" d="M0 12v3h3l8-8l-3-3l-8 8zm3 2H1v-2h1v1h1v1zm10.3-9.3L12 6L9 3l1.3-1.3a.996.996 0 0 1 1.41 0l1.59 1.59c.39.39.39 1.02 0 1.41z" fill="currentColor"/></g></svg>
React
// Run: npx sant-icons get octicon-pencil --format react
export function OcticonPencil(props) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" {...props}><g transform="scale(1) translate(0 0)"><path fill-rule="evenodd" d="M0 12v3h3l8-8l-3-3l-8 8zm3 2H1v-2h1v1h1v1zm10.3-9.3L12 6L9 3l1.3-1.3a.996.996 0 0 1 1.41 0l1.59 1.59c.39.39.39 1.02 0 1.41z" fill="currentColor"/></g></svg>
  );
}
CLI
npx sant-icons get octicon-pencil

Properties

Name
pencil
Library
Octicons
Style
filled
License
MIT
Version
1.2.40
Identifier
octicon-pencil

pencil in other libraries

Related from Octicons

The pencil icon ships with Octicons, an open-source icon set licensed under MIT. Search for it as "octicons pencil", "pencil svg", or any of its tagged terms (pencil). The SVG is normalised to a 24×24 viewBox so you can drop it into any UI framework alongside the other icons here without scaling concerns.

Need this icon in your codebase fast? Install the MCP server for Claude Code (or any MCP-aware AI tool) and ask the model to fetch octicon-pencil directly into your project. No browser context-switch.