Diamond 24 icon
octicon:diamond-24
The Diamond 24 icon (octicon:diamond-24) is a free SVG icon from the Octicons set by GitHub. It is drawn on a 24 × 24 grid. Octicons 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.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M1.527 13.237a1.75 1.75 0 0 1 0-2.474l9.272-9.273a1.75 1.75 0 0 1 2.475 0l9.272 9.273a1.75 1.75 0 0 1 0 2.474l-9.272 9.272a1.75 1.75 0 0 1-2.475 0Zm1.06-1.414a.25.25 0 0 0 0 .354l9.273 9.272a.25.25 0 0 0 .353 0l9.272-9.272a.25.25 0 0 0 0-.354l-9.272-9.272a.25.25 0 0 0-.353 0Z"/></svg>How to use the Diamond 24 icon
React
import { Icon } from "@iconify/react";
<Icon icon="octicon:diamond-24" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="octicon:diamond-24" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="octicon:diamond-24" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[octicon--diamond-24]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/octicon -->
<div class="i-octicon:diamond-24"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="octicon:diamond-24"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/octicon/diamond-24.svg" alt="Diamond 24 icon" width="24" height="24">Related icons in Octicons
Diamond 24 icon FAQ
Is the Diamond 24 icon free for commercial use?
Yes. Octicons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Diamond 24 icon in React?
Install @iconify/react and render <Icon icon="octicon:diamond-24" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Diamond 24 icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/octicon/diamond-24.svg" alt="Diamond 24 icon">, or paste the SVG code inline to style it with CSS.