Comparison icon
pajamas:comparison
The Comparison icon (pajamas:comparison) is a free SVG icon from the Gitlab SVGs set by GitLab B.V.. It is drawn on a 24 × 24 grid. Gitlab SVGs 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
- Gitlab SVGs
- Author
- GitLab B.V.
- License
- MIT
- Size
- 24 × 24
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="M4.5 3.5a1 1 0 1 1-2 0a1 1 0 0 1 2 0m-.25 2.386a2.501 2.501 0 1 0-1.5 0V10.5a2.75 2.75 0 0 0 2.75 2.75h.629l-.47.47a.75.75 0 1 0 1.061 1.06l1.75-1.75l.53-.53l-.53-.53l-1.75-1.75a.747.747 0 0 0-1.061 0a.75.75 0 0 0 0 1.06l.47.47H5.5c-.69 0-1.25-.56-1.25-1.25zM9.28 1.22a.75.75 0 1 1 1.06 1.06l-.47.47h.63a2.75 2.75 0 0 1 2.75 2.75v4.614a2.501 2.501 0 1 1-1.5 0V5.5c0-.69-.56-1.25-1.25-1.25h-.63l.47.47a.75.75 0 1 1-1.06 1.06L7.53 4.03L7 3.5l.53-.53zM12.5 13.5a1 1 0 1 0 0-2a1 1 0 0 0 0 2" clip-rule="evenodd"/></svg>How to use the Comparison icon
React
import { Icon } from "@iconify/react";
<Icon icon="pajamas:comparison" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="pajamas:comparison" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="pajamas:comparison" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[pajamas--comparison]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/pajamas -->
<div class="i-pajamas:comparison"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="pajamas:comparison"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/pajamas/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. Gitlab SVGs icons are released under the MIT 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="pajamas: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/pajamas/comparison.svg" alt="Comparison icon">, or paste the SVG code inline to style it with CSS.