ICONYZ
English
Diamond icon from Font Awesome 4

Diamond icon

fa:diamond

The Diamond icon (fa:diamond) is a free SVG icon from the Font Awesome 4 set by Dave Gandy. It is drawn on a 2048 × 1664 grid. Font Awesome 4 icons are released under the Open Font 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
Font Awesome 4
Author
Dave Gandy
License
OFL-1.1
Size
2048 × 1664
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="2048" height="1664" viewBox="0 0 2048 1664"><path fill="currentColor" d="m212 640l623 665l-300-665zm812 772l349-772H675zM538 512l204-384H480L192 512zm675 793l623-665h-323zM683 512h682l-204-384H887zm827 0h346l-288-384h-262zm141-486l384 512q14 18 13 41.5t-17 40.5l-960 1024q-18 20-47 20t-47-20L17 620Q1 603 0 579.5T13 538L397 26q18-26 51-26h1152q33 0 51 26"/></svg>

How to use the Diamond icon

React

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

<Icon icon="fa:diamond" width="24" />

Vue

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

<template>
  <Icon icon="fa:diamond" width="24" />
</template>

Svelte

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

<Icon icon="fa:diamond" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[fa--diamond]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/fa -->
<div class="i-fa:diamond"></div>

Web component

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

<iconify-icon icon="fa:diamond"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/fa/diamond.svg" alt="Diamond icon" width="24" height="24">

Diamond icon in other icon sets

Diamond icon FAQ

Is the Diamond icon free for commercial use?

Yes. Font Awesome 4 icons are released under the Open Font License, which allows use in personal and commercial projects.

How do I use the Diamond icon in React?

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

How do I add the Diamond icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/fa/diamond.svg" alt="Diamond icon">, or paste the SVG code inline to style it with CSS.

Browse all Font Awesome 4 icons →