ICONYZ
English
Ruler icon from ProIcons

Ruler icon

proicons:ruler

The Ruler icon (proicons:ruler) is a free SVG icon from the ProIcons set by ProCode. It is drawn on a 24 × 24 grid. ProIcons are released under the MIT 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
ProIcons
Author
ProCode
License
MIT
Size
24 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-width="1.5"><rect width="9.5" height="18.5" x="6.75" y="2.75" stroke-linejoin="round" rx="2"/><path d="M6.75 12h4.5m-4.5-4.5h4.5m-4.5 9h4.5"/></g></svg>

How to use the Ruler icon

React

import { Icon } from "@iconify/react";

<Icon icon="proicons:ruler" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="proicons:ruler" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="proicons:ruler" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[proicons--ruler]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/proicons -->
<div class="i-proicons:ruler"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="proicons:ruler"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/proicons/ruler.svg" alt="Ruler icon" width="24" height="24">

Related icons in ProIcons

Ruler icon in other icon sets

Ruler icon FAQ

Is the Ruler icon free for commercial use?

Yes. ProIcons are released under the MIT 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="proicons: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/proicons/ruler.svg" alt="Ruler icon">, or paste the SVG code inline to style it with CSS.

Browse all ProIcons →