The pencil-ruler icon, drawn on a 24×24 grid in stroke, duotone and fill. Free under MIT: copy the SVG, the JSX or the React component.
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M3.9371 21.3335C3.8326 21.3694 3.7228 21.3878 3.6122 21.3878C3.0599 21.3878 2.6122 20.9401 2.6122 20.3878C2.6122 20.2772 2.6306 20.1674 2.6665 20.0629L4.1467 15.7542C4.1961 15.6103 4.2777 15.4796 4.3853 15.372L14.7577 4.9996C15.3203 4.437 16.0834 4.121 16.879 4.121C17.6747 4.121 18.4377 4.437 19.0004 4.9996C19.563 5.5623 19.879 6.3253 19.879 7.121C19.879 7.9166 19.563 8.6797 19.0004 9.2423L8.628 19.6147C8.5204 19.7223 8.3897 19.8039 8.2458 19.8533L3.9371 21.3335ZM4.2218 15.5355L8.4645 19.7782M4.2925 2.8783C4.8551 2.3157 5.6182 1.9996 6.4139 1.9996C7.2095 1.9996 7.9726 2.3157 8.5352 2.8783L12.7071 7.0503L7.0503 12.7071L2.8783 8.5352C2.3157 7.9726 1.9996 7.2095 1.9996 6.4139C1.9996 5.6182 2.3157 4.8551 2.8783 4.2925L4.2925 2.8783ZM16.9497 11.2929L21.1217 15.4648C21.6843 16.0274 22.0004 16.7905 22.0004 17.5861C22.0004 18.3818 21.6843 19.1449 21.1217 19.7075L19.7075 21.1217C19.1449 21.6843 18.3818 22.0004 17.5861 22.0004C16.7905 22.0004 16.0274 21.6843 15.4648 21.1217L11.2929 16.9497L16.9497 11.2929ZM9.5251 3.8683L7.4038 5.9896M20.1317 14.4749L18.0104 16.5962"/>
</svg>Also called
What someone searching for this drawing would have typed instead. These are the words the browser's search matches on.
- design
- draw
- drafting
- measure
- edit
- tools
- ruler
- pencil
- sketch
Related icons
The rest of the pencil family first, then the Tools shelf.
FAQ
Answered from pencil-ruler's own facts: its shelf, the weights it was drawn in, its siblings and its dates.
- What is the pencil-ruler icon for?
- It is filed under Tools in Keyline Icons, drawn on the same 24×24 grid as the rest of the set. People look for it as design, draw, drafting, measure, edit, tools, ruler, pencil and sketch, and the browser's search matches all of those.
- What styles does the pencil-ruler icon come in?
- All three: stroke, duotone and fill. They are drawn from the same geometry, so swapping weight never moves anything.
- Is there a square or circle version of pencil-ruler?
- No. pencil-ruler is drawn as a bare glyph, and the set has no boxed variant of it.
- What other icons go with pencil-ruler?
- hammer, toolbox and wrench, all shown below. They are the Tools shelf: nothing else in the set is named after pencil.
- How do I import pencil-ruler in React?
- <PencilRuler /> is the component, and the weight decides the module: stroke from "@keyline-icons/react", duotone from "@keyline-icons/react/duotone" and fill from "@keyline-icons/react/fill". It takes the usual SVG props plus a size, so <PencilRuler size={16} /> and className="size-4" both work, and there is no provider or theme to set up.
- Where is the pencil-ruler SVG?
- icons/stroke/pencil-ruler.svg, icons/duotone/pencil-ruler.svg and icons/fill/pencil-ruler.svg in the repository, normalised: no wrapper, no ids and no classes to strip out. The tabs above hand you the same drawing as SVG or JSX without the download, and neither needs an install.
- When was pencil-ruler added to the set?
- Added 27 Aug 2026. It ships in v0.2.0, so an install at that version or later has it.
Questions about the set rather than about this drawing are answered where they belong. The home page covers what the set is, how the three styles differ, why some icons come boxed and where the Figma file is; installing the set in a shadcn/ui project covers the React package, the CLI and using an icon without React. The MIT licence is stated in the footer of every page.