Diamond icon
fluent-mdl2:diamond
The Diamond icon (fluent-mdl2:diamond) is a free SVG icon from the Fluent UI MDL2 set by Microsoft Corporation. It is drawn on a 2048 × 2048 grid. Fluent UI MDL2 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
- Fluent UI MDL2
- Author
- Microsoft Corporation
- License
- MIT
- Size
- 2048 × 2048
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="2048" height="2048" viewBox="0 0 2048 2048"><path fill="currentColor" d="m1928 829l-904 1113L120 829l537-573h734zm-666-61l-144-384H930L786 768zM779 896l245 858l245-858zm-93-512L327 768h343l144-384zM314 896l542 667l-191-667zm878 667l542-667h-351zm529-795l-359-384h-128l144 384z"/></svg>How to use the Diamond icon
React
import { Icon } from "@iconify/react";
<Icon icon="fluent-mdl2:diamond" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="fluent-mdl2:diamond" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="fluent-mdl2:diamond" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[fluent-mdl2--diamond]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/fluent-mdl2 -->
<div class="i-fluent-mdl2:diamond"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="fluent-mdl2:diamond"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/fluent-mdl2/diamond.svg" alt="Diamond icon" width="24" height="24">Related icons in Fluent UI MDL2
Diamond icon in other icon sets
Diamond icon FAQ
Is the Diamond icon free for commercial use?
Yes. Fluent UI MDL2 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="fluent-mdl2: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/fluent-mdl2/diamond.svg" alt="Diamond icon">, or paste the SVG code inline to style it with CSS.