ICONYZ
English
Compare icon from Griddy Icons

Compare icon

griddy-icons:compare

The Compare icon (griddy-icons:compare) is a free SVG icon from the Griddy Icons set by Zuzana Benova. It is drawn on a 24 × 24 grid. Griddy Icons 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
Griddy Icons
Author
Zuzana Benova
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"><path fill="currentColor" fill-rule="evenodd" d="M10.5 7.5V3.25c0-.69.56-1.25 1.25-1.25h9c.69 0 1.25.56 1.25 1.25v12c0 .69-.56 1.25-1.25 1.25H13.5v4.25c0 .69-.56 1.25-1.25 1.25h-9C2.56 22 2 21.44 2 20.75v-12c0-.69.56-1.25 1.25-1.25zm1.5 0v-4h8.5v5h-3.933l1.718-1.714l-1.06-1.062l-2.646 2.641a1.25 1.25 0 0 0 0 1.77l2.646 2.64l1.06-1.06L16.567 10H20.5v5h-7V8.75c0-.69-.56-1.25-1.25-1.25zm-8.5 13v-5h3.932l-1.717 1.714l1.06 1.062l2.646-2.641a1.25 1.25 0 0 0 0-1.77l-2.646-2.64l-1.06 1.06L7.432 14H3.5V9H12v11.5z" clip-rule="evenodd"/></svg>

How to use the Compare icon

React

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

<Icon icon="griddy-icons:compare" width="24" />

Vue

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

<template>
  <Icon icon="griddy-icons:compare" width="24" />
</template>

Svelte

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

<Icon icon="griddy-icons:compare" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[griddy-icons--compare]"></span>

UnoCSS

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

Web component

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

<iconify-icon icon="griddy-icons:compare"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/griddy-icons/compare.svg" alt="Compare icon" width="24" height="24">

Related icons in Griddy Icons

Compare icon in other icon sets

Compare icon FAQ

Is the Compare icon free for commercial use?

Yes. Griddy Icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Compare icon in React?

Install @iconify/react and render <Icon icon="griddy-icons:compare" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Compare icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/griddy-icons/compare.svg" alt="Compare icon">, or paste the SVG code inline to style it with CSS.

Browse all Griddy Icons →