gentleface

Gentleface › Notifications & status › alert-circle

alert-circle icon

Alert circle: error, failed, attention, failure. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Code line-round

SVG
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M2.904 2.904C3.538 2.269 4.273 1.787 5.107 1.456C5.876 1.152 6.673 1 7.5 1C8.327 1 9.124 1.152 9.893 1.456C10.727 1.787 11.462 2.269 12.096 2.904C12.731 3.538 13.213 4.273 13.544 5.107C13.848 5.876 14 6.673 14 7.5C14 8.327 13.848 9.124 13.544 9.893C13.213 10.727 12.731 11.462 12.096 12.096C11.462 12.731 10.727 13.213 9.893 13.544C9.124 13.848 8.327 14 7.5 14C6.673 14 5.876 13.848 5.107 13.544C4.273 13.213 3.538 12.731 2.904 12.096C2.269 11.462 1.787 10.727 1.456 9.893C1.152 9.124 1 8.327 1 7.5C1 6.673 1.152 5.876 1.456 5.107C1.787 4.273 2.269 3.538 2.904 2.904ZM3.611 11.389C4.148 11.926 4.769 12.334 5.475 12.614C6.126 12.871 6.801 13 7.5 13C8.199 13 8.874 12.871 9.525 12.614C10.231 12.334 10.852 11.926 11.389 11.389C11.926 10.852 12.334 10.231 12.614 9.525C12.871 8.874 13 8.199 13 7.5C13 6.801 12.871 6.126 12.614 5.475C12.334 4.769 11.926 4.148 11.389 3.611C10.852 3.074 10.231 2.666 9.525 2.386C8.874 2.129 8.199 2 7.5 2C6.801 2 6.126 2.129 5.475 2.386C4.769 2.666 4.148 3.074 3.611 3.611C3.074 4.148 2.666 4.769 2.386 5.475C2.129 6.126 2 6.801 2 7.5C2 8.199 2.129 8.874 2.386 9.525C2.666 10.231 3.074 10.852 3.611 11.389ZM7.856 8.856C7.759 8.952 7.641 9 7.5 9C7.359 9 7.241 8.952 7.144 8.856C7.048 8.759 7 8.641 7 8.5L7 4.5C7 4.359 7.048 4.241 7.144 4.144C7.241 4.048 7.359 4 7.5 4C7.641 4 7.759 4.048 7.856 4.144C7.952 4.241 8 4.359 8 4.5L8 8.5C8 8.641 7.952 8.759 7.856 8.856ZM6.97 9.97C7.116 9.823 7.293 9.75 7.5 9.75C7.707 9.75 7.884 9.823 8.03 9.97C8.177 10.116 8.25 10.293 8.25 10.5C8.25 10.707 8.177 10.884 8.03 11.03C7.884 11.177 7.707 11.25 7.5 11.25C7.293 11.25 7.116 11.177 6.97 11.03C6.823 10.884 6.75 10.707 6.75 10.5C6.75 10.293 6.823 10.116 6.97 9.97Z"/></svg>
React
// Gentleface "alert-circle" (line-round), MIT. https://gentleface.com/icons/alert-circle
import type { SVGProps } from 'react';

export function AlertCircleIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M2.904 2.904C3.538 2.269 4.273 1.787 5.107 1.456C5.876 1.152 6.673 1 7.5 1C8.327 1 9.124 1.152 9.893 1.456C10.727 1.787 11.462 2.269 12.096 2.904C12.731 3.538 13.213 4.273 13.544 5.107C13.848 5.876 14 6.673 14 7.5C14 8.327 13.848 9.124 13.544 9.893C13.213 10.727 12.731 11.462 12.096 12.096C11.462 12.731 10.727 13.213 9.893 13.544C9.124 13.848 8.327 14 7.5 14C6.673 14 5.876 13.848 5.107 13.544C4.273 13.213 3.538 12.731 2.904 12.096C2.269 11.462 1.787 10.727 1.456 9.893C1.152 9.124 1 8.327 1 7.5C1 6.673 1.152 5.876 1.456 5.107C1.787 4.273 2.269 3.538 2.904 2.904ZM3.611 11.389C4.148 11.926 4.769 12.334 5.475 12.614C6.126 12.871 6.801 13 7.5 13C8.199 13 8.874 12.871 9.525 12.614C10.231 12.334 10.852 11.926 11.389 11.389C11.926 10.852 12.334 10.231 12.614 9.525C12.871 8.874 13 8.199 13 7.5C13 6.801 12.871 6.126 12.614 5.475C12.334 4.769 11.926 4.148 11.389 3.611C10.852 3.074 10.231 2.666 9.525 2.386C8.874 2.129 8.199 2 7.5 2C6.801 2 6.126 2.129 5.475 2.386C4.769 2.666 4.148 3.074 3.611 3.611C3.074 4.148 2.666 4.769 2.386 5.475C2.129 6.126 2 6.801 2 7.5C2 8.199 2.129 8.874 2.386 9.525C2.666 10.231 3.074 10.852 3.611 11.389ZM7.856 8.856C7.759 8.952 7.641 9 7.5 9C7.359 9 7.241 8.952 7.144 8.856C7.048 8.759 7 8.641 7 8.5L7 4.5C7 4.359 7.048 4.241 7.144 4.144C7.241 4.048 7.359 4 7.5 4C7.641 4 7.759 4.048 7.856 4.144C7.952 4.241 8 4.359 8 4.5L8 8.5C8 8.641 7.952 8.759 7.856 8.856ZM6.97 9.97C7.116 9.823 7.293 9.75 7.5 9.75C7.707 9.75 7.884 9.823 8.03 9.97C8.177 10.116 8.25 10.293 8.25 10.5C8.25 10.707 8.177 10.884 8.03 11.03C7.884 11.177 7.707 11.25 7.5 11.25C7.293 11.25 7.116 11.177 6.97 11.03C6.823 10.884 6.75 10.707 6.75 10.5C6.75 10.293 6.823 10.116 6.97 9.97Z" />
    </svg>
  );
}
Vue
Vue: see /icons/alert-circle.md
Svelte
Svelte: see /icons/alert-circle.md
HTML img
HTML img: see /icons/alert-circle.md
CSS
CSS: see /icons/alert-circle.md
Data URL
Data URL: see /icons/alert-circle.md
Sprite
Sprite: see /icons/alert-circle.md
SwiftUI
SwiftUI: see /icons/alert-circle.md
Compose
Compose: see /icons/alert-circle.md
Android XML
Android XML: see /icons/alert-circle.md
Flutter
Flutter: see /icons/alert-circle.md

Each SVG is 16 × 16 with fill="currentColor". Keep it at 16 px or an exact multiple (32, 48) on whole pixels: a fractional size or position blurs it. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.

Meaning

Use it for
error, failed, attention, failure, needs attention, action required
Alternatives
  • x-circle: the Codicons convention, × in a circle means error; use where the product follows it
  • alert-mark: a bare ! inline, e.g. beside a field or tab label
  • alert-triangle: a warning
Don’t confuse with
  • x: the x motif means close or dismiss, not error
  • alert-triangle: the triangle means warning, not error
Also fits
  • important: an error or attention status that reads alone
  • critical: an ordinary error
Not for
  • warning (use alert-triangle): ! in a circle means error, not warning
  • info (use info): ! in a circle means error
Tags
alert, error, exclamation, circle, problem
Category
Notifications & status
Component name
AlertCircleIcon
History
  • added

Family 7

More notifications & status icons

For agents

Metadata: /icons/alert-circle.json · Markdown: /icons/alert-circle.md · SVG: https://gentleface.com/svg/{style}/16/alert-circle.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/alert-circle.png

Feedback