Diamond Alt icon
boxicons:diamond-alt
The Diamond Alt icon (boxicons:diamond-alt) is a free SVG icon from the Boxicons set. It is drawn on a 24 × 24 grid. Boxicons 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="M18.16 3.01A2.02 2.02 0 0 0 16.42 2H7.58c-.72 0-1.38.39-1.74 1.01l-3.37 5.9c-.41.71-.33 1.62.19 2.26l7.79 9.52c.38.47.95.73 1.55.73s1.17-.27 1.55-.73l7.79-9.52c.52-.64.6-1.54.19-2.26zM16.42 4l2.86 5h-3.07l-1.79-5zm-8.63 7l2 5.73L5.11 11zm6.3 0L12 16.97L9.91 11zM9.92 9l1.79-5h.59l1.79 5H9.93Zm6.29 2h2.68l-4.68 5.73zM7.58 4V3zh2L7.79 9H4.72z"/></svg>How to use the Diamond Alt icon
React
import { Icon } from "@iconify/react";
<Icon icon="boxicons:diamond-alt" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="boxicons:diamond-alt" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="boxicons:diamond-alt" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[boxicons--diamond-alt]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/boxicons -->
<div class="i-boxicons:diamond-alt"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="boxicons:diamond-alt"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/boxicons/diamond-alt.svg" alt="Diamond Alt icon" width="24" height="24">Related icons in Boxicons
Diamond Alt icon FAQ
Is the Diamond Alt icon free for commercial use?
Yes. Boxicons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Diamond Alt icon in React?
Install @iconify/react and render <Icon icon="boxicons:diamond-alt" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Diamond Alt icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/boxicons/diamond-alt.svg" alt="Diamond Alt icon">, or paste the SVG code inline to style it with CSS.