ruler 2 icon
ruler-2 from Majesticons by Gerrit Halfmann · Solid · MIT Free for personal and commercial use.
- Name
- ruler-2
- Set
- Majesticons
- Style
- Solid
- Viewbox
- 24×24
- License
- MIT
1 other variant in Majesticons
The same icon in other sets
Use the ruler 2 icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M12.879 3.707a3 3 0 0 1 4.242 0l3.172 3.172a3 3 0 0 1 0 4.242l-9.172 9.172a3 3 0 0 1-4.242 0L3.707 17.12a3 3 0 0 1 0-4.242L4.586 12l1.707 1.707a1 1 0 0 0 1.414-1.414L6 10.586L7.586 9l2.707 2.707a1 1 0 0 0 1.414-1.414L9 7.586L10.586 6l1.707 1.707a1 1 0 1 0 1.414-1.414L12 4.586z" clip-rule="evenodd"/></svg>
React
import type { SVGProps } from "react";
export function MajesticonsRuler2(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" fillRule="evenodd" d="M12.879 3.707a3 3 0 0 1 4.242 0l3.172 3.172a3 3 0 0 1 0 4.242l-9.172 9.172a3 3 0 0 1-4.242 0L3.707 17.12a3 3 0 0 1 0-4.242L4.586 12l1.707 1.707a1 1 0 0 0 1.414-1.414L6 10.586L7.586 9l2.707 2.707a1 1 0 0 0 1.414-1.414L9 7.586L10.586 6l1.707 1.707a1 1 0 1 0 1.414-1.414L12 4.586z" clipRule="evenodd"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M12.879 3.707a3 3 0 0 1 4.242 0l3.172 3.172a3 3 0 0 1 0 4.242l-9.172 9.172a3 3 0 0 1-4.242 0L3.707 17.12a3 3 0 0 1 0-4.242L4.586 12l1.707 1.707a1 1 0 0 0 1.414-1.414L6 10.586L7.586 9l2.707 2.707a1 1 0 0 0 1.414-1.414L9 7.586L10.586 6l1.707 1.707a1 1 0 1 0 1.414-1.414L12 4.586z" clip-rule="evenodd"/></svg> </template>
CSS
.icon-ruler-2 {
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%2024%2024%22%3E%3Cpath%20fill%3D%22currentColor%22%20fill-rule%3D%22evenodd%22%20d%3D%22M12.879%203.707a3%203%200%200%201%204.242%200l3.172%203.172a3%203%200%200%201%200%204.242l-9.172%209.172a3%203%200%200%201-4.242%200L3.707%2017.12a3%203%200%200%201%200-4.242L4.586%2012l1.707%201.707a1%201%200%200%200%201.414-1.414L6%2010.586L7.586%209l2.707%202.707a1%201%200%200%200%201.414-1.414L9%207.586L10.586%206l1.707%201.707a1%201%200%201%200%201.414-1.414L12%204.586z%22%20clip-rule%3D%22evenodd%22%2F%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%2024%2024%22%3E%3Cpath%20fill%3D%22currentColor%22%20fill-rule%3D%22evenodd%22%20d%3D%22M12.879%203.707a3%203%200%200%201%204.242%200l3.172%203.172a3%203%200%200%201%200%204.242l-9.172%209.172a3%203%200%200%201-4.242%200L3.707%2017.12a3%203%200%200%201%200-4.242L4.586%2012l1.707%201.707a1%201%200%200%200%201.414-1.414L6%2010.586L7.586%209l2.707%202.707a1%201%200%200%200%201.414-1.414L9%207.586L10.586%206l1.707%201.707a1%201%200%201%200%201.414-1.414L12%204.586z%22%20clip-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/majesticons/ruler-2.svg?color=%231a73e8&size=48