Diamond 2 Solid icon
streamline:diamond-2-solid
The Diamond 2 Solid icon (streamline:diamond-2-solid) is a free SVG icon from the Streamline set. It is drawn on a 14 × 14 grid. Streamline 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
- Streamline
- Author
- Streamline
- License
- CC-BY-4.0
- Size
- 14 × 14
- Category
- MoneyShopping
- Tags
- diamondsolid
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14"><path fill="currentColor" fill-rule="evenodd" d="M6.408 1.04H7.62l1.717 3.69H4.684zM3.304 4.73l1.724-3.69H3.346a1.57 1.57 0 0 0-1.244.67L.285 4.228l-.003.004a1.6 1.6 0 0 0-.234.5zM.254 5.98h3.024l1.921 6.161L.365 6.13a2 2 0 0 1-.111-.148m4.333 0h4.847l-2.33 7.503a2 2 0 0 1-.176.002zm6.156 0l-1.896 6.103l4.788-5.954a2 2 0 0 0 .111-.148zm3.208-1.25a1.6 1.6 0 0 0-.233-.499l-.003-.004l-1.817-2.516a1.57 1.57 0 0 0-1.244-.67V1.04H8.999l1.717 3.69z" clip-rule="evenodd"/></svg>How to use the Diamond 2 Solid icon
React
import { Icon } from "@iconify/react";
<Icon icon="streamline:diamond-2-solid" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="streamline:diamond-2-solid" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="streamline:diamond-2-solid" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[streamline--diamond-2-solid]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/streamline -->
<div class="i-streamline:diamond-2-solid"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="streamline:diamond-2-solid"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/streamline/diamond-2-solid.svg" alt="Diamond 2 Solid icon" width="24" height="24">Related icons in Streamline
Diamond 2 Solid icon FAQ
Is the Diamond 2 Solid icon free for commercial use?
Yes. Streamline 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 2 Solid icon in React?
Install @iconify/react and render <Icon icon="streamline:diamond-2-solid" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Diamond 2 Solid icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/streamline/diamond-2-solid.svg" alt="Diamond 2 Solid icon">, or paste the SVG code inline to style it with CSS.