Diamond icon
roentgen:diamond
The Diamond icon (roentgen:diamond) is a free SVG icon from the Röntgen set by Sergey Vartanov. It is drawn on a 24 × 24 grid. Röntgen icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Röntgen
- Author
- Sergey Vartanov
- License
- CC-BY-4.0
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M4.5 3a.5.5 0 0 0-.354.147l-3 3a.5.5 0 0 0 0 .707l6 6a.5.5 0 0 0 .708 0l6-6a.5.5 0 0 0 0-.708l-3-3A.5.5 0 0 0 10.5 3zm.207 1h1.024L4.695 6H2.707zm2.149 0h1.289l1.033 2H5.822zM9.27 4h1.023l2 2h-1.988zM2.707 7h1.961l1.441 3.402zm3.049 0h3.488L7.5 11.117zm4.576 0h1.961l-3.402 3.402z"/></svg>How to use the Diamond icon
React
import { Icon } from "@iconify/react";
<Icon icon="roentgen:diamond" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="roentgen:diamond" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="roentgen:diamond" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[roentgen--diamond]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/roentgen -->
<div class="i-roentgen:diamond"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="roentgen:diamond"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/roentgen/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. Röntgen icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.
How do I use the Diamond icon in React?
Install @iconify/react and render <Icon icon="roentgen: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/roentgen/diamond.svg" alt="Diamond icon">, or paste the SVG code inline to style it with CSS.