ICONYZ
English
Diamond icon from WebHostingHub Glyphs

Diamond icon

whh:diamond

The Diamond icon (whh:diamond) is a free SVG icon from the WebHostingHub Glyphs set by WebHostingHub. It is drawn on a 1024 × 896 grid. WebHostingHub Glyphs 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
WebHostingHub Glyphs
Author
WebHostingHub
License
OFL-1.1
Size
1024 × 896
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="1024" height="896" viewBox="0 0 1024 896"><path fill="currentColor" d="m896 0l128 256H768zM576 0h256L704 256zM384 256L512 0l128 256zM192 0h256L320 256zM0 256L128 0l128 256zm448 640L0 320h256zm256-576L512 896L320 320zm320 0L576 896l192-576z"/></svg>

How to use the Diamond icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Related icons in WebHostingHub Glyphs

Diamond icon in other icon sets

Diamond icon FAQ

Is the Diamond icon free for commercial use?

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

Browse all WebHostingHub Glyphs icons →