ICONYZ
English
Warning Diamond Fill icon from Carbon

Warning Diamond Fill icon

carbon:warning-diamond-fill

The Warning Diamond Fill icon (carbon:warning-diamond-fill) is a free SVG icon from the Carbon set by IBM. It is drawn on a 32 × 32 grid. Carbon icons are released under the Apache 2.0 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
Carbon
Author
IBM
License
Apache-2.0
Size
32 × 32
Category
Organization
Tags
warningdiamond, diamondfill, warningdiamondfill
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path fill="currentColor" d="M14.586 2.604L2.604 14.586a2 2 0 0 0 0 2.828l11.982 11.982a2 2 0 0 0 2.828 0l11.982-11.982a2 2 0 0 0 0-2.828L17.414 2.604a2 2 0 0 0-2.828 0M15 9h2v9h-2zm1 14c-.83 0-1.5-.67-1.5-1.5S15.17 20 16 20s1.5.67 1.5 1.5S16.83 23 16 23"/></svg>

How to use the Warning Diamond Fill icon

React

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

<Icon icon="carbon:warning-diamond-fill" width="24" />

Vue

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

<template>
  <Icon icon="carbon:warning-diamond-fill" width="24" />
</template>

Svelte

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

<Icon icon="carbon:warning-diamond-fill" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="carbon:warning-diamond-fill"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/carbon/warning-diamond-fill.svg" alt="Warning Diamond Fill icon" width="24" height="24">

Related icons in Carbon

Warning Diamond Fill icon in other icon sets

Warning Diamond Fill icon FAQ

Is the Warning Diamond Fill icon free for commercial use?

Yes. Carbon icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.

How do I use the Warning Diamond Fill icon in React?

Install @iconify/react and render <Icon icon="carbon:warning-diamond-fill" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Warning Diamond Fill icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/carbon/warning-diamond-fill.svg" alt="Warning Diamond Fill icon">, or paste the SVG code inline to style it with CSS.

Browse all Carbon icons →