ICONYZ
English
Ruler icon from coolicons

Ruler icon

ci:ruler

The Ruler icon (ci:ruler) is a free SVG icon from the coolicons set by Kryston Schwarze. It is drawn on a 24 × 24 grid. coolicons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
coolicons
Author
Kryston Schwarze
License
CC-BY-4.0
Size
24 × 24
Category
Edit
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m6.344 12l2.121 2.122m.707-4.95l2.121 2.12M12 6.344l2.122 2.122M5.07 13.273l8.202-8.203c.792-.792 1.188-1.188 1.645-1.336a2 2 0 0 1 1.236 0c.456.148.852.544 1.643 1.335L18.93 6.2c.792.792 1.188 1.19 1.337 1.646c.13.402.13.834 0 1.235c-.149.457-.545.853-1.337 1.645l-8.202 8.203c-.792.792-1.189 1.188-1.645 1.336c-.402.13-.834.13-1.235 0c-.457-.148-.854-.544-1.646-1.336l-1.133-1.133c-.79-.791-1.187-1.187-1.335-1.643a2 2 0 0 1 0-1.236c.148-.457.545-.853 1.337-1.645"/></svg>

How to use the Ruler icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

<img src="https://iconyz.com/api/public/svg/ci/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. coolicons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.

How do I use the Ruler icon in React?

Install @iconify/react and render <Icon icon="ci: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/ci/ruler.svg" alt="Ruler icon">, or paste the SVG code inline to style it with CSS.

Browse all coolicons →