ICONYZ
English
Diamond icon from Bootstrap Icons

Diamond icon

bi:diamond

The Diamond icon (bi:diamond) is a free SVG icon from the Bootstrap Icons set by The Bootstrap Authors. It is drawn on a 24 × 24 grid. Bootstrap 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
Bootstrap Icons
Author
The Bootstrap Authors
License
MIT
Size
24 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M6.95.435c.58-.58 1.52-.58 2.1 0l6.515 6.516c.58.58.58 1.519 0 2.098L9.05 15.565c-.58.58-1.519.58-2.098 0L.435 9.05a1.48 1.48 0 0 1 0-2.098zm1.4.7a.495.495 0 0 0-.7 0L1.134 7.65a.495.495 0 0 0 0 .7l6.516 6.516a.495.495 0 0 0 .7 0l6.516-6.516a.495.495 0 0 0 0-.7L8.35 1.134z"/></svg>

How to use the Diamond icon

React

import { Icon } from "@iconify/react";

<Icon icon="bi:diamond" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="bi:diamond" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="bi:diamond" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[bi--diamond]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/bi -->
<div class="i-bi:diamond"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="bi:diamond"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/bi/diamond.svg" alt="Diamond icon" width="24" height="24">

Related icons in Bootstrap Icons

Diamond icon in other icon sets

Diamond icon FAQ

Is the Diamond icon free for commercial use?

Yes. Bootstrap 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="bi: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/bi/diamond.svg" alt="Diamond icon">, or paste the SVG code inline to style it with CSS.

Browse all Bootstrap Icons →