Ruler icon
si-glyph:ruler
The Ruler icon (si-glyph:ruler) is a free SVG icon from the SmartIcons Glyph set by SmartIcons. It is drawn on a 17 × 24 grid. SmartIcons Glyph icons are released under the CC BY SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- SmartIcons Glyph
- Author
- SmartIcons
- License
- CC-BY-SA-4.0
- Size
- 17 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="17" height="24" viewBox="0 0 17 24"><path fill="currentColor" fill-rule="evenodd" d="M5 0v16h8V0zm1 2h2v1H6zm0 6h2v1H6zm2 7H6v-1h2zm1-3H6v-1h3zm0-6H6V5h3z"/></svg>How to use the Ruler icon
React
import { Icon } from "@iconify/react";
<Icon icon="si-glyph:ruler" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="si-glyph:ruler" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="si-glyph:ruler" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[si-glyph--ruler]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/si-glyph -->
<div class="i-si-glyph:ruler"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="si-glyph:ruler"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/si-glyph/ruler.svg" alt="Ruler icon" width="24" height="24">Ruler icon in other icon sets
Ruler icon FAQ
Is the Ruler icon free for commercial use?
Yes. SmartIcons Glyph icons are released under the CC BY SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license.
How do I use the Ruler icon in React?
Install @iconify/react and render <Icon icon="si-glyph: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/si-glyph/ruler.svg" alt="Ruler icon">, or paste the SVG code inline to style it with CSS.