ICONYZ
English
Code Compare icon from Font Awesome Solid

Code Compare icon

fa7-solid:code-compare

The Code Compare icon (fa7-solid:code-compare) is a free SVG icon from the Font Awesome Solid set by Dave Gandy. It is drawn on a 640 × 640 grid. Font Awesome Solid icons 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
Font Awesome Solid
Author
Dave Gandy
License
CC-BY-4.0
Size
640 × 640
Tags
codecompare
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="640" height="640" viewBox="0 0 640 640"><path fill="currentColor" d="M262.8 65.8c9-3.7 19.3-1.7 26.2 5.2l56 56c9.4 9.4 9.4 24.6 0 33.9l-56 56c-6.9 6.9-17.2 8.9-26.2 5.2S248 209.7 248 200v-24h-24c-17.7 0-32 14.3-32 32v214.7c28.3 12.3 48 40.5 48 73.3c0 44.2-35.8 80-80 80s-80-35.8-80-80c0-32.8 19.7-61 48-73.3V208c0-53 43-96 96-96h24V88c0-9.7 5.8-18.5 14.8-22.2M456 144c0 13.3 10.7 24 24 24s24-10.7 24-24s-10.7-24-24-24s-24 10.7-24 24m-8 73.3c-28.3-12.3-48-40.5-48-73.3c0-44.2 35.8-80 80-80s80 35.8 80 80c0 32.8-19.7 61-48 73.3V432c0 53-43 96-96 96h-24v24c0 9.7-5.8 18.5-14.8 22.2s-19.3 1.7-26.2-5.2l-56-56c-9.4-9.4-9.4-24.6 0-33.9l56-56c6.9-6.9 17.2-8.9 26.2-5.2S392 430.3 392 440v24h24c17.7 0 32-14.3 32-32zM136 496c0 13.3 10.7 24 24 24s24-10.7 24-24s-10.7-24-24-24s-24 10.7-24 24"/></svg>

How to use the Code Compare icon

React

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

<Icon icon="fa7-solid:code-compare" width="24" />

Vue

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

<template>
  <Icon icon="fa7-solid:code-compare" width="24" />
</template>

Svelte

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

<Icon icon="fa7-solid:code-compare" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[fa7-solid--code-compare]"></span>

UnoCSS

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

Web component

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

<iconify-icon icon="fa7-solid:code-compare"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/fa7-solid/code-compare.svg" alt="Code Compare icon" width="24" height="24">

Related icons in Font Awesome Solid

Code Compare icon in other icon sets

Code Compare icon FAQ

Is the Code Compare icon free for commercial use?

Yes. Font Awesome Solid icons 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 Code Compare icon in React?

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

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

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

Browse all Font Awesome Solid icons →