John KuehJohn Kueh

warning diamond icon

Phosphor · warning-diamond · MIT

Download SVG

The Phosphor warning diamond icon depicts a cautionary symbol, typically used to draw attention to potential dangers, errors, or important alerts within a user interface.

Common uses

  • Displaying critical error messages
  • Highlighting security warnings
  • Indicating potential data loss

Use it in React

Install
npm i @phosphor-icons/react
Import & render
import { WarningDiamond } from '@phosphor-icons/react';

<WarningDiamond size={24} />

Styles

Phosphor ships this icon in 6 styles — each its own import:

regular
<WarningDiamond size={24} />
thin
<WarningDiamond size={24} weight="thin" />
light
<WarningDiamond size={24} weight="light" />
bold
<WarningDiamond size={24} weight="bold" />
fill
<WarningDiamond size={24} weight="fill" />
duotone
<WarningDiamond size={24} weight="duotone" />

Details

Library
Phosphor (1,512 icons)
License
MIT
viewBox
0 0 256 256
Category
system
Keywords
alertdangerdangerouscautionerrorssystemwarningdiamondalert diamonddanger symbolcaution iconerror alert

FAQ

What is the purpose of the warning diamond icon?
It serves as a visual cue for users to pay attention to potential risks, errors, or important system notifications.
How do I use this icon in React?
You can import and use it like this: import { WarningDiamond } from '@phosphor-icons/react'; <WarningDiamond />.
What is the license for this icon?
The Phosphor icon library, including the warning diamond icon, is available under the MIT license.

Related icons

The same idea in other libraries, and near matches in Phosphor.

Looking for something else? Search Phosphor and 4 more libraries by description →

The search behind these pages runs as a Claude Code skill. What skills are and how I ship them →