John KuehJohn Kueh

exclamation circle icon

Heroicons · exclamation-circle · MIT

Download SVG

The Heroicons exclamation circle icon depicts a warning or alert symbol, commonly used to indicate errors, important notifications, or cautionary messages within a user interface.

Common uses

  • Displaying validation errors for form fields.
  • Signaling critical system status alerts.
  • Highlighting important user-facing warnings.

Use it in React

Install
npm i @heroicons/react
Import & render
import { ExclamationCircleIcon } from '@heroicons/react/24/outline';

<ExclamationCircleIcon className="size-6" />

Styles

Heroicons ships this icon in 4 styles — each its own import:

24/outline
<ExclamationCircleIcon className="size-6" />
24/solid
<ExclamationCircleIcon className="size-6" />
20/solid
<ExclamationCircleIcon className="size-6" />
16/solid
<ExclamationCircleIcon className="size-6" />

Details

Library
Heroicons (324 icons)
License
MIT
viewBox
0 0 24 24
Keywords
exclamationcirclewarning iconalert iconerror iconcaution icon

FAQ

What is the primary purpose of the exclamation circle icon?
It's used to draw attention to warnings, errors, or important information that requires user awareness.
How do I use this icon in a React application?
Import it using `import { ExclamationCircleIcon } from '@heroicons/react/24/outline'` and then render the component.
What is the license for Heroicons?
Heroicons are distributed under the MIT license, allowing for free use in both open-source and commercial projects.

Related icons

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

Looking for something else? Search Heroicons 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 →