Warning Shield icon

Used as a general warning for tons of scenarios. The Warning Shield icon is part of Microsoft's Fluent UI System Icons, available here in regular and filled styles on a 20 px grid. Download it as SVG or PNG, or copy it as code — it's free to use under the MIT License.

Regular (outlined)

SVG

Filled

SVG

Every size and style

Microsoft draws each size separately so icons stay crisp, rather than scaling one drawing. Pick a style and size to preview it, download it, or copy the code for your platform.

Regular, 20 px

ic_fluent_warning_shield_20_regular.svg

Warning Shield icon in React

npm install @fluentui/react-icons

import { WarningShield20Regular } from "@fluentui/react-icons";

export function Example() {
  return <WarningShield20Regular aria-label="Warning Shield" />;
}

Warning Shield icon in SVG

npm install @fluentui/svg-icons

import icon from "@fluentui/svg-icons/icons/warning_shield_20_regular.svg";

<!-- or load it from a CDN -->
<img src="https://cdn.jsdelivr.net/npm/@fluentui/[email protected]/icons/warning_shield_20_regular.svg" width="20" height="20" alt="Warning Shield">

Warning Shield icon in Blazor

Microsoft's Fluent UI Blazor icons package:

dotnet add package Microsoft.FluentUI.AspNetCore.Components.Icons

<FluentIcon Value="@(new Icons.Regular.Size20.WarningShield())" />

Warning Shield icon in Flutter

flutter pub add fluentui_system_icons

import 'package:fluentui_system_icons/fluentui_system_icons.dart';

Icon(FluentIcons.warning_shield_20_regular)

Warning Shield icon in WinUI / WPF

Add FluentSystemIcons-Regular.ttf from Microsoft's repository to your app, then use the glyph:

<!-- WinUI 3 (font in Assets/Fonts) -->
<FontIcon FontFamily="ms-appx:///Assets/Fonts/FluentSystemIcons-Regular.ttf#FluentSystemIcons-Regular" Glyph="&#xEE3D;" FontSize="20" />

<!-- WPF (font in Fonts/, Build Action: Resource) -->
<TextBlock FontFamily="pack://application:,,,/Fonts/#FluentSystemIcons-Regular" Text="&#xEE3D;" FontSize="20" />

Warning Shield icon in Icon font

<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/microsoft/fluentui-system-icons@9cf8af0f95a555918a60b8147a2f33a6a1248442/fonts/FluentSystemIcons-Regular.css">

<i class="icon-ic_fluent_warning_shield_20_regular"></i>

/* or use the code point in your own CSS */
.icon::before {
  font-family: "FluentSystemIcons-Regular";
  content: "\ee3d";
  font-size: 20px;
}

Warning Shield icon in Android

// build.gradle
implementation("com.microsoft.design:fluent-system-icons:1.1.341@aar")

<!-- layout XML -->
<ImageView android:src="@drawable/ic_fluent_warning_shield_20_regular" />

// Kotlin
R.drawable.ic_fluent_warning_shield_20_regular

Warning Shield icon in iOS

# Podfile
pod "FluentIcons", "1.1.341"

import FluentIcons

UIImage(fluent: .warningShield20Regular)

Warning Shield 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='20' height='20' viewBox='0 0 20 20'>…</svg>")

Use the Warning Shield icon in React

Install Microsoft's @fluentui/react-icons package, then import the component. Icons inherit the current text color, and you can size them with CSS.

npm install @fluentui/react-icons

import { WarningShield20Regular, WarningShield20Filled } from "@fluentui/react-icons";

export function Example() {
  return <WarningShield20Regular aria-label="Warning Shield" />;
}

Use it in HTML

Reference the SVG file directly:

<img src="https://fluenticons.co/icons/ic_fluent_warning_shield_20_regular.svg" width="20" height="20" alt="Warning Shield">

Or paste the SVG markup inline. Setting fill="currentColor" makes the icon follow the text color of its parent:

<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="M15.12 10.96c.2-.19.56-.19.76 0 .5.49 1.48 1.26 2.68 1.41.24.04.44.22.44.44v2.11c0 2.84-2.78 3.87-3.39 4.06a.4.4 0 0 1-.22 0c-.6-.19-3.39-1.22-3.39-4.06v-2.1c0-.23.2-.41.44-.45a5 5 0 0 0 2.68-1.4m-7.75-7.4a3 3 0 0 1 5.26 0l3.51 6.4a1.6 1.6 0 0 0-1.16-.05l-3.23-5.87a2 2 0 0 0-3.5 0l-5.5 10A2 2 0 0 0 4.5 17h6.96q.27.57.65 1h-7.6a3 3 0 0 1-2.63-4.44zM10 12.75a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m0-6.25c.28 0 .5.22.5.5v4a.5.5 0 0 1-1 0V7c0-.28.22-.5.5-.5"/></svg>

Details

NameWarning Shield
StylesRegular (outlined), Filled
Sizes20 px
Regular (outlined) fileic_fluent_warning_shield_20_regular.svg
Filled fileic_fluent_warning_shield_20_filled.svg
React (Regular)WarningShield20Regular
React (Filled)WarningShield20Filled
LicenseMIT (© Microsoft Corporation)

Keywords

alertexclamationtriangleissue

Related icons