Gentleface › Design › ruler
ruler icon
rulerRuler: measure, ruler, measurement. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.
Code line-round
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M12.793 4.086C12.973 4.266 13.113 4.472 13.214 4.706C13.324 4.959 13.379 5.224 13.379 5.5C13.379 5.776 13.324 6.041 13.214 6.294C13.113 6.528 12.973 6.734 12.793 6.914L6.914 12.793C6.734 12.973 6.528 13.113 6.294 13.214C6.041 13.324 5.776 13.379 5.5 13.379C5.224 13.379 4.959 13.324 4.706 13.214C4.472 13.113 4.266 12.973 4.086 12.793L2.207 10.914C2.027 10.734 1.887 10.528 1.786 10.294C1.676 10.041 1.621 9.776 1.621 9.5C1.621 9.224 1.676 8.959 1.786 8.706C1.887 8.472 2.027 8.266 2.207 8.086L8.086 2.207C8.266 2.027 8.472 1.887 8.706 1.786C8.959 1.676 9.224 1.621 9.5 1.621C9.776 1.621 10.041 1.676 10.294 1.786C10.528 1.887 10.734 2.027 10.914 2.207L12.793 4.086ZM4.793 12.086C4.988 12.281 5.224 12.379 5.5 12.379C5.776 12.379 6.012 12.281 6.207 12.086L12.086 6.207C12.281 6.012 12.379 5.776 12.379 5.5C12.379 5.224 12.281 4.988 12.086 4.793L10.207 2.914C10.012 2.719 9.776 2.621 9.5 2.621C9.224 2.621 8.988 2.719 8.793 2.914L8.207 3.5L9.854 5.146C9.951 5.244 10 5.362 10 5.5C10 5.638 9.951 5.756 9.854 5.854C9.754 5.953 9.636 6.003 9.5 6.003C9.364 6.003 9.246 5.953 9.146 5.854L7.5 4.207L6.207 5.5L7.854 7.146C7.953 7.246 8.003 7.364 8.003 7.5C8.003 7.636 7.953 7.754 7.854 7.854C7.754 7.953 7.636 8.003 7.5 8.003C7.364 8.003 7.246 7.953 7.146 7.854L5.5 6.207L4.207 7.5L5.854 9.146C5.953 9.246 6.003 9.364 6.003 9.5C6.003 9.636 5.953 9.754 5.854 9.854C5.756 9.951 5.638 10 5.5 10C5.362 10 5.244 9.951 5.146 9.854L3.5 8.207L2.914 8.793C2.719 8.988 2.621 9.224 2.621 9.5C2.621 9.776 2.719 10.012 2.914 10.207L4.793 12.086Z"/></svg>
// Gentleface "ruler" (line-round), MIT. https://gentleface.com/icons/ruler
import type { SVGProps } from 'react';
export function RulerIcon(props: SVGProps<SVGSVGElement>) {
return (
<svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
<path d="M12.793 4.086C12.973 4.266 13.113 4.472 13.214 4.706C13.324 4.959 13.379 5.224 13.379 5.5C13.379 5.776 13.324 6.041 13.214 6.294C13.113 6.528 12.973 6.734 12.793 6.914L6.914 12.793C6.734 12.973 6.528 13.113 6.294 13.214C6.041 13.324 5.776 13.379 5.5 13.379C5.224 13.379 4.959 13.324 4.706 13.214C4.472 13.113 4.266 12.973 4.086 12.793L2.207 10.914C2.027 10.734 1.887 10.528 1.786 10.294C1.676 10.041 1.621 9.776 1.621 9.5C1.621 9.224 1.676 8.959 1.786 8.706C1.887 8.472 2.027 8.266 2.207 8.086L8.086 2.207C8.266 2.027 8.472 1.887 8.706 1.786C8.959 1.676 9.224 1.621 9.5 1.621C9.776 1.621 10.041 1.676 10.294 1.786C10.528 1.887 10.734 2.027 10.914 2.207L12.793 4.086ZM4.793 12.086C4.988 12.281 5.224 12.379 5.5 12.379C5.776 12.379 6.012 12.281 6.207 12.086L12.086 6.207C12.281 6.012 12.379 5.776 12.379 5.5C12.379 5.224 12.281 4.988 12.086 4.793L10.207 2.914C10.012 2.719 9.776 2.621 9.5 2.621C9.224 2.621 8.988 2.719 8.793 2.914L8.207 3.5L9.854 5.146C9.951 5.244 10 5.362 10 5.5C10 5.638 9.951 5.756 9.854 5.854C9.754 5.953 9.636 6.003 9.5 6.003C9.364 6.003 9.246 5.953 9.146 5.854L7.5 4.207L6.207 5.5L7.854 7.146C7.953 7.246 8.003 7.364 8.003 7.5C8.003 7.636 7.953 7.754 7.854 7.854C7.754 7.953 7.636 8.003 7.5 8.003C7.364 8.003 7.246 7.953 7.146 7.854L5.5 6.207L4.207 7.5L5.854 9.146C5.953 9.246 6.003 9.364 6.003 9.5C6.003 9.636 5.953 9.754 5.854 9.854C5.756 9.951 5.638 10 5.5 10C5.362 10 5.244 9.951 5.146 9.854L3.5 8.207L2.914 8.793C2.719 8.988 2.621 9.224 2.621 9.5C2.621 9.776 2.719 10.012 2.914 10.207L4.793 12.086Z" />
</svg>
);
}Vue: see /icons/ruler.md
Svelte: see /icons/ruler.md
HTML img: see /icons/ruler.md
CSS: see /icons/ruler.md
Data URL: see /icons/ruler.md
Sprite: see /icons/ruler.md
SwiftUI: see /icons/ruler.md
Compose: see /icons/ruler.md
Android XML: see /icons/ruler.md
Flutter: see /icons/ruler.md
Each SVG is 16 × 16 with fill="currentColor". Keep it at 16 px or an exact multiple (32, 48) on whole pixels: a fractional size or position blurs it. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.
Meaning
- Use it for
- measure, ruler, measurement
- Alternatives
tape-measure: clothing size guides and measuring on siteruler-dimension-line: the dimensions of or distance between objectsangle: measure an angle
- Also fits
- tape measure: measure in a design or a document (ruler owns measure)
- Not for
- crop and rotate (use
crop-rotate): Material's straighten is a ruler, but ruler owns measure
- crop and rotate (use
- Tags
- ruler, measure, measurement, length, size, dimensions, scale
- Category
- Design
- Component name
RulerIcon- History
- added
Family 1
More design icons
align-objects-bottom align-objects-bottom-three align-objects-left align-objects-left-three align-objects-right align-objects-right-three align-objects-top align-objects-top-three angle animation animation-off bezier-curve boolean-exclude boolean-intersect boolean-union bounding-box · all design icons
For agents
Metadata: /icons/ruler.json · Markdown: /icons/ruler.md · SVG: https://gentleface.com/svg/{style}/16/ruler.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/ruler.png