X Diamond Fill icon
bi:x-diamond-fill
The X Diamond Fill icon (bi:x-diamond-fill) 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
- Tags
- xdiamond, diamondfill, xdiamondfill
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M9.05.435c-.58-.58-1.52-.58-2.1 0L4.047 3.339L8 7.293l3.954-3.954L9.049.435zm3.61 3.611L8.708 8l3.954 3.954l2.904-2.905c.58-.58.58-1.519 0-2.098l-2.904-2.905zm-.706 8.614L8 8.708l-3.954 3.954l2.905 2.904c.58.58 1.519.58 2.098 0l2.905-2.904zm-8.614-.706L7.292 8L3.339 4.046L.435 6.951c-.58.58-.58 1.519 0 2.098z"/></svg>How to use the X Diamond Fill icon
React
import { Icon } from "@iconify/react";
<Icon icon="bi:x-diamond-fill" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="bi:x-diamond-fill" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="bi:x-diamond-fill" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[bi--x-diamond-fill]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/bi -->
<div class="i-bi:x-diamond-fill"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="bi:x-diamond-fill"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/bi/x-diamond-fill.svg" alt="X Diamond Fill icon" width="24" height="24">Related icons in Bootstrap Icons
X Diamond Fill icon FAQ
Is the X Diamond Fill 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 X Diamond Fill icon in React?
Install @iconify/react and render <Icon icon="bi:x-diamond-fill" />, or use “Copy code” on this page to get a standalone React component.
How do I add the X Diamond Fill icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/bi/x-diamond-fill.svg" alt="X Diamond Fill icon">, or paste the SVG code inline to style it with CSS.