Diamonds icon
whh:diamonds
The Diamonds icon (whh:diamonds) is a free SVG icon from the WebHostingHub Glyphs set by WebHostingHub. It is drawn on a 895 × 1024 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
- 895 × 1024
- Tags
- diamond
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="895" height="1024" viewBox="0 0 895 1024"><path fill="currentColor" d="M0 512q14-7 39-21t92.5-64T256 320q36-36 68.5-82t54-86.5t38-75.5T440 21l8-21q2 8 7 21.5T478 75t38.5 77.5t54 84.5t69.5 83q56 57 120 105t100 67l35 20q-14 7-39 21.5t-92.5 64T640 704q-36 36-69 82t-54.5 86.5t-38 75.5t-23.5 55l-7 21q-3-8-8-21.5T417 949t-38.5-77.5T325 787t-69-83q-57-57-121.5-105T36 531.5T0 512"/></svg>How to use the Diamonds icon
React
import { Icon } from "@iconify/react";
<Icon icon="whh:diamonds" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="whh:diamonds" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="whh:diamonds" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[whh--diamonds]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/whh -->
<div class="i-whh:diamonds"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="whh:diamonds"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/whh/diamonds.svg" alt="Diamonds icon" width="24" height="24">Diamonds icon in other icon sets
Diamonds icon FAQ
Is the Diamonds 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 Diamonds icon in React?
Install @iconify/react and render <Icon icon="whh:diamonds" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Diamonds icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/whh/diamonds.svg" alt="Diamonds icon">, or paste the SVG code inline to style it with CSS.