Comparison icon
uil:comparison
The Comparison icon (uil:comparison) 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
- Business
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M21 20H4v-.54l5-5l3.8 3.8a1 1 0 0 0 1.41 0l7.5-7.5a1 1 0 0 0 0-1.42a1 1 0 0 0-1.41 0l-6.8 6.8l-3.79-3.8a1 1 0 0 0-1.41 0L4 16.63v-5.17l5-5l2.8 2.8a1 1 0 0 0 1.41 0L18 4.47l2.19 2.19a1 1 0 0 0 1.41-1.42l-2.91-2.89a1 1 0 0 0-1.41 0l-4.8 4.8l-2.79-2.8a1 1 0 0 0-1.41 0L4 8.63V3a1 1 0 0 0-2 0v18a1 1 0 0 0 1 1h18a1 1 0 0 0 0-2"/></svg>How to use the Comparison icon
React
import { Icon } from "@iconify/react";
<Icon icon="uil:comparison" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="uil:comparison" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="uil:comparison" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[uil--comparison]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/uil -->
<div class="i-uil:comparison"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="uil:comparison"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/uil/comparison.svg" alt="Comparison icon" width="24" height="24">Comparison icon in other icon sets
Comparison icon FAQ
Is the Comparison 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 Comparison icon in React?
Install @iconify/react and render <Icon icon="uil:comparison" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Comparison icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/uil/comparison.svg" alt="Comparison icon">, or paste the SVG code inline to style it with CSS.