ICONYZ
English
Code Compare icon from Font Awesome 6 Solid

Code Compare icon

fa6-solid:code-compare

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

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><path fill="currentColor" d="M320 488c0 9.5-5.6 18.1-14.2 21.9s-18.8 2.3-25.8-4.1l-80-72c-5.1-4.6-7.9-11-7.9-17.8s2.9-13.3 7.9-17.8l80-72c7-6.3 17.2-7.9 25.8-4.1S320 334.5 320 344v40h16c35.3 0 64-28.7 64-64V153.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.3V320c0 70.7-57.3 128-128 128h-16zM456 80a24 24 0 1 0-48 0a24 24 0 1 0 48 0M192 24c0-9.5 5.6-18.1 14.2-21.9S225-.2 232 6.2l80 72c5.1 4.6 7.9 11 7.9 17.8s-2.9 13.3-7.9 17.8l-80 72c-7 6.3-17.2 7.9-25.8 4.1S192 177.5 192 168v-40h-16c-35.3 0-64 28.7-64 64v166.7c28.3 12.3 48 40.5 48 73.3c0 44.2-35.8 80-80 80S0 476.2 0 432c0-32.8 19.7-61 48-73.3V192c0-70.7 57.3-128 128-128h16zM56 432a24 24 0 1 0 48 0a24 24 0 1 0-48 0"/></svg>

How to use the Code Compare icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/fa6-solid -->
<div class="i-fa6-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="fa6-solid:code-compare"></iconify-icon>

HTML image

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

Related icons in Font Awesome 6 Solid

Code Compare icon in other icon sets

Code Compare icon FAQ

Is the Code Compare icon free for commercial use?

Yes. Font Awesome 6 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="fa6-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/fa6-solid/code-compare.svg" alt="Code Compare icon">, or paste the SVG code inline to style it with CSS.

Browse all Font Awesome 6 Solid icons →