ICONYZ
English
Diamond icon from andrsrxn/icons

Diamond icon

andrsrxn:diamond

The Diamond icon (andrsrxn:diamond) is a free SVG icon from the andrsrxn/icons set by Andrés Raxón. It is drawn on a 24 × 24 grid. andrsrxn/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
andrsrxn/icons
Author
Andrés Raxón
License
MIT
Size
24 × 24
Category
Design
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none"><path fill="currentColor" d="M9.14 3.59C10.5 2.22 11.16 1.53 12 1.53s1.51.69 2.86 2.06l2.75 2.8l2.8 2.75c1.37 1.35 2.06 2.02 2.06 2.86s-.69 1.51-2.06 2.86l-2.8 2.75l-2.75 2.8c-1.35 1.37-2.02 2.06-2.86 2.06s-1.51-.69-2.86-2.06l-2.75-2.8l-2.8-2.75C2.22 13.5 1.53 12.84 1.53 12s.69-1.51 2.06-2.86l2.8-2.75z" opacity=".2"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M7.71 4.8C9.73 2.74 10.74 1.7 12 1.7s2.27 1.04 4.29 3.1l1.44 1.47l1.47 1.44c2.06 2.02 3.1 3.03 3.1 4.29s-1.04 2.27-3.1 4.29l-1.47 1.44l-1.44 1.47c-2.02 2.06-3.03 3.1-4.29 3.1s-2.27-1.04-4.29-3.1l-1.44-1.47l-1.47-1.44C2.74 14.27 1.7 13.26 1.7 12s1.04-2.27 3.1-4.29l1.47-1.44z"/></g></svg>

How to use the Diamond icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

<img src="https://iconyz.com/api/public/svg/andrsrxn/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. andrsrxn/icons are released under the MIT 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="andrsrxn: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/andrsrxn/diamond.svg" alt="Diamond icon">, or paste the SVG code inline to style it with CSS.

Browse all andrsrxn/icons →