ICONYZ
English
Compare icon from Fluent UI MDL2

Compare icon

fluent-mdl2:compare

The Compare icon (fluent-mdl2:compare) is a free SVG icon from the Fluent UI MDL2 set by Microsoft Corporation. It is drawn on a 2048 × 2048 grid. Fluent UI MDL2 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
Fluent UI MDL2
Author
Microsoft Corporation
License
MIT
Size
2048 × 2048
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="2048" height="2048" viewBox="0 0 2048 2048"><path fill="currentColor" d="m1603 256l214 640h103v128h-22q-20 57-56 104t-84 81t-104 52t-118 19q-61 0-117-18t-104-52t-84-81t-57-105h-22V896h103l214-640h-445v1410q167 11 316 75t273 179h179v128H128v-128h179q123-114 272-178t317-76V256H451l214 640h103v128h-22q-20 57-56 104t-84 81t-104 52t-118 19q-61 0-117-18t-104-52t-84-81t-57-105H0V896h103l214-640H0V128h896V0h128v128h896v128zM384 458L238 896h292zm0 694q69 0 128-34t94-94H162q35 60 94 94t128 34m1020 768q-100-63-213-95t-231-33q-118 0-231 32t-213 96zm132-1462l-146 438h292zm0 694q69 0 128-34t94-94h-444q35 60 94 94t128 34"/></svg>

How to use the Compare icon

React

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

<Icon icon="fluent-mdl2:compare" width="24" />

Vue

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

<template>
  <Icon icon="fluent-mdl2:compare" width="24" />
</template>

Svelte

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

<Icon icon="fluent-mdl2:compare" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="fluent-mdl2:compare"></iconify-icon>

HTML image

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

Related icons in Fluent UI MDL2

Compare icon in other icon sets

Compare icon FAQ

Is the Compare icon free for commercial use?

Yes. Fluent UI MDL2 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="fluent-mdl2: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/fluent-mdl2/compare.svg" alt="Compare icon">, or paste the SVG code inline to style it with CSS.

Browse all Fluent UI MDL2 icons →