The Phosphor warning circle icon depicts a circle with an exclamation mark inside, commonly used to indicate potential problems, errors, or important alerts within a user interface.
Common uses
- Displaying error messages for form validation.
- Highlighting critical system status notifications.
- Indicating a dangerous or irreversible action.
Use it in React
Install
npm i @phosphor-icons/reactImport & render
import { WarningCircle } from '@phosphor-icons/react';
<WarningCircle size={24} />Styles
Phosphor ships this icon in 6 styles — each its own import:
regular
<WarningCircle size={24} />thin
<WarningCircle size={24} weight="thin" />light
<WarningCircle size={24} weight="light" />bold
<WarningCircle size={24} weight="bold" />fill
<WarningCircle size={24} weight="fill" />duotone
<WarningCircle size={24} weight="duotone" />Details
- Library
- Phosphor (1,512 icons)
- License
- MIT
- viewBox
0 0 256 256- Category
- system
- Keywords
- alertdangerdangerouscautionerrorsroundsystemwarningcirclealert circledanger symbolexclamation markcaution icon
FAQ
- What is the purpose of the warning circle icon?
- It's used to draw attention to potential issues, errors, or important alerts that require user awareness.
- How do I use the warning circle icon in React?
- Import it as `WarningCircle` from '@phosphor-icons/react' and use it as a component: `<WarningCircle />`.
- What is the license for Phosphor icons?
- Phosphor icons are distributed under the MIT license, allowing for free use in commercial and non-commercial projects.
Related icons
The same idea in other libraries, and near matches in Phosphor.