Ruler icon
uil:ruler
The Ruler icon (uil:ruler) is a free SVG icon from the Unicons set by Iconscout. It is drawn on a 24 × 24 grid. Unicons are released under the Apache 2.0 license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Unicons
- Author
- Iconscout
- License
- Apache-2.0
- Size
- 24 × 24
- Category
- Design Tools
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M22.61 7.05L17 1.39a1 1 0 0 0-.71-.29a1 1 0 0 0-.7.29L1.39 15.54a1 1 0 0 0 0 1.41l5.66 5.66a1 1 0 0 0 .71.29a1 1 0 0 0 .7-.29l2.83-2.83l8.49-8.49l2.83-2.83a1 1 0 0 0 0-1.41m-3.54 2.12l-.71-.71a1 1 0 0 0-1.41 0a1 1 0 0 0 0 1.42l.71.71L16.24 12l-2.12-2.12a1 1 0 0 0-1.41 1.41l2.12 2.12l-1.42 1.42l-.7-.71a1 1 0 1 0-1.42 1.42l.71.7l-1.41 1.42l-2.13-2.12a1 1 0 0 0-1.41 0a1 1 0 0 0 0 1.41l2.12 2.12l-1.41 1.42l-4.25-4.25L16.24 3.51l4.25 4.25Z"/></svg>How to use the Ruler icon
React
import { Icon } from "@iconify/react";
<Icon icon="uil:ruler" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="uil:ruler" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="uil:ruler" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[uil--ruler]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/uil -->
<div class="i-uil:ruler"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="uil:ruler"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/uil/ruler.svg" alt="Ruler icon" width="24" height="24">Related icons in Unicons
Ruler icon in other icon sets
Ruler icon FAQ
Is the Ruler icon free for commercial use?
Yes. Unicons are released under the Apache 2.0 license, which allows use in personal and commercial projects.
How do I use the Ruler icon in React?
Install @iconify/react and render <Icon icon="uil:ruler" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Ruler icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/uil/ruler.svg" alt="Ruler icon">, or paste the SVG code inline to style it with CSS.