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.
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.
// 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:
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/[email protected]/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.