Warning icon

Warning is a Google Material Symbol from the Actions category. It's one of the 100 most used Material Symbols. It comes in outlined, rounded and sharp styles, filled or unfilled, at seven weights from 100 to 700. Download it as SVG or PNG, or copy code for HTML, React, Vue, Angular, Flutter and Android — it's free to use under the Apache License 2.0.

Outlined

SVG

Outlined, filled

SVG

Every style, fill and weight

Material Symbols are variable: each icon comes in three styles, with or without fill, at seven weights. Pick a combination to preview it, download it, or copy the code for your platform.

Outlined, unfilled, weight 400

warning_outlined_fill0_wght400.svg

Warning icon in HTML

Load the Material Symbols font from Google Fonts (this link loads just this icon), then use the icon's name as text.

<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&icon_names=warning" />

<span class="material-symbols-outlined">warning</span>

Warning icon in React

// With the font from the HTML tab:
export function WarningIcon() {
  return (
    <span className="material-symbols-outlined">
      warning
    </span>
  );
}

// Or as an SVG component (Vite + vite-plugin-svgr) instead:
//   npm install @material-symbols/svg-400
//   import WarningIcon from "@material-symbols/svg-400/outlined/warning.svg?react";

Warning icon in Vue

<!-- With the font from the HTML tab -->
<template>
  <span class="material-symbols-outlined">warning</span>
</template>

<!-- Or as an SVG component (Vite + vite-svg-loader):
     npm install @material-symbols/svg-400
     import WarningIcon from "@material-symbols/svg-400/outlined/warning.svg?component"; -->

Warning icon in Angular

With Angular Material and the font from the HTML tab:

<mat-icon fontSet="material-symbols-outlined">warning</mat-icon>

Warning icon in Flutter

Uses the community material_symbols_icons package.

flutter pub add material_symbols_icons

import 'package:material_symbols_icons/symbols.dart';

Icon(Symbols.warning, fill: 0, weight: 400)

Warning icon in Android

A vector drawable of the selected style, fill and weight:

<!-- res/drawable/warning.xml -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="24dp"
    android:height="24dp"
    android:viewportWidth="24"
    android:viewportHeight="24"
    android:tint="?attr/colorControlNormal">
        <path android:fillColor="@android:color/white" android:pathData="m1 21 11-19 11 19H1Zm2.6-1.5h16.8L12 5 3.6 19.5Zm9.038-1.642q.212-.217 .212-.537 0-.321-.217-.533-.217-.213-.537-.213-.321 0-.533 .217-.213 .217-.213 .538 0 .32 .217 .533 .217 .212 .538 .212 .32 0 .533-.217ZM11.35 15.3h1.5v-5.6h-1.5v5.6Zm.65-3.05Z" />
</vector>

Warning icon in SVG

npm install @material-symbols/svg-400

import icon from "@material-symbols/svg-400/outlined/warning.svg";

<!-- or load it from a CDN -->
<img src="https://cdn.jsdelivr.net/npm/@material-symbols/svg-400@0.47.5/outlined/warning.svg" width="24" height="24" alt="Warning">

Warning icon in Power Apps

Paste into an Image control's Image property. The Copy button copies the full formula with this icon's SVG.

"data:image/svg+xml;utf8, " & EncodeUrl("<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'>…</svg>")

Details

NameWarning
Ligaturewarning
Code pointU+E002
CategoryActions
StylesOutlined, Rounded, Sharp — each unfilled or filled
Weights100, 200, 300, 400, 500, 600, 700
Files@material-symbols/svg-400/outlined/warning.svg, warning-fill.svg
FlutterSymbols.warning
LicenseApache License 2.0 (© Google LLC)

Keywords

actionsalertsignalstatussecuritymarksystemnotificationtrianglemessageerrordangercaution

Related icons