About the Ruler outline icon
The Ruler icon is an outline (line) icon drawn with strokes, so colour and stroke width are easy to restyle from Iconoir (simple, elegant line icons). It is filed under the Design category. It inherits the surrounding text colour through currentColor, so you can recolour it with plain CSS.
Search keywords: ruler
Use it inline in HTML, as an image, in React or Vue components, in Figma or in any design tool that accepts SVG. Licence: MIT (Iconoir) – check the licence terms before redistributing.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M16 7V2.6C16 2.26863 15.7314 2 15.4 2H8.6C8.26863 2 8 2.26863 8 2.6V21.4C8 21.7314 8.26863 22 8.6 22H15.4C15.7314 22 16 21.7314 16 21.4V17M16 7H13M16 7V12M16 12H13M16 12V17M16 17H13" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/></svg>