ICONYZ
English
Diamond icon from Gravity UI Icons

Diamond icon

gravity-ui:diamond

The Diamond icon (gravity-ui:diamond) is a free SVG icon from the Gravity UI Icons set by YANDEX LLC. It is drawn on a 24 × 24 grid. Gravity UI 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
Gravity UI Icons
Author
YANDEX LLC
License
MIT
Size
24 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none"><g clip-path="url(#SVGRVeuBdhT)"><path fill="currentColor" fill-rule="evenodd" d="M14.01 6.94L9.06 1.99a1.5 1.5 0 0 0-2.12 0L1.99 6.94a1.5 1.5 0 0 0 0 2.12l4.95 4.95a1.5 1.5 0 0 0 2.12 0l4.95-4.95a1.5 1.5 0 0 0 0-2.12M10.121.928a3 3 0 0 0-4.242 0l-4.95 4.95a3 3 0 0 0 0 4.242l4.95 4.95a3 3 0 0 0 4.242 0l4.95-4.95a3 3 0 0 0 0-4.242z" clip-rule="evenodd"/></g><defs><clipPath id="SVGRVeuBdhT"><path fill="currentColor" d="M0 0h16v16H0z"/></clipPath></defs></g></svg>

How to use the Diamond icon

React

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

<Icon icon="gravity-ui:diamond" width="24" />

Vue

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

<template>
  <Icon icon="gravity-ui:diamond" width="24" />
</template>

Svelte

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

<Icon icon="gravity-ui:diamond" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="gravity-ui:diamond"></iconify-icon>

HTML image

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

Related icons in Gravity UI Icons

Diamond icon in other icon sets

Diamond icon FAQ

Is the Diamond icon free for commercial use?

Yes. Gravity UI 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="gravity-ui: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/gravity-ui/diamond.svg" alt="Diamond icon">, or paste the SVG code inline to style it with CSS.

Browse all Gravity UI Icons →