- Icon Monks
- Interface icons
- Warning
Warning icon
The warning icon is a free interface icon from Icon Monks, drawn as one clean path on a 256-unit grid in six weights. It is free for personal and commercial use under the MIT license.
Open in the icon browserCustomize size and color, then download PNG, WebP or PDF.
About the warning icon
Use it to stand for alert, caution and danger. The regular weight is a single path made of 4 shapes, and the duotone weight adds a 20% tint behind the outline. It comes with 5 variants for states and actions: warning circle, warning diamond, warning octagon, warning slash and warning square.
Pairs well with the biohazard, traffic cone and bomb icons, which share the “caution” theme. Use the same weight for all of them so they read as one set.
When to use the warning icon
It belongs to the interface set, made for buttons, menus, toolbars and app navigation. Pair it with the related icons below so a screen stays in one visual style.
Use the warning icon in your code
React
import { Warning } from '@icon-monks/react';
<Warning size={24} />Vue
<script setup>
import { Warning } from '@icon-monks/vue';
</script>
<Warning :size="24" />Web component
<icon-monks name="warning" size="24"></icon-monks>Icon font
<i class="im im-warning"></i>Flutter
Icon(IconMonks.warning)SwiftUI
Image(iconMonks: .warning)Compose
import com.designmonks.icons.IconMonks
import com.designmonks.icons.regular.Warning
Icon(IconMonks.Regular.Warning, contentDescription = null)Need setup steps? See the getting started guide or the page for React, Flutter, SwiftUI or Jetpack Compose.
Tags
Related interface icons
warning-diamond
warning-octagon
cursor-warning
flag-warning
funnel-warning
gear-warning
heart-warning
magnifying-glass-warning
seal-warning
warning-circle
warning-square
arrows-clockwise-warning
browser-warning
cloud-warning
eye-warning
sliders-warning
warning-circle-slash
warning-octagon-slash
Similar icons in other categories
car-warning
house-warning
biohazard
traffic-cone
bomb
skull
battery-warning
bell-warning
book-warning
briefcase-warning
building-office-warning
cell-signal-warning
Questions about the warning icon
Is the warning icon free for commercial use?
Yes. The warning icon is released under the MIT license, so you can use it in personal, client and commercial projects without paying or adding credit in your interface.
How do I change the color and size of the warning icon?
The icon draws in currentColor, so it takes the text color around it. In React, Vue and the web component, set the size and color props; in the icon browser, pick a color and size before you download a PNG, WebP, SVG or PDF.
Are there variants of the warning icon?
Yes. The warning icon has 5 variants, including warning circle, warning diamond, warning octagon and warning slash. Each one keeps the same base shape and comes in all six weights.
Last updated with version 0.4.3. Release notes