warning icon
warning from Health Icons by Resolve to Save Lives · Filled · Typography · MIT Free for personal and commercial use.
- Name
- warning
- Set
- Health Icons
- Style
- Filled
- Category
- Typography
- Viewbox
- 48×48
- License
- MIT
1 other variant in Health Icons
The same icon in other sets
warning-filledAnt Design IconswarningCarbonwarningCodiconswarningEmoji One (Colored)warningElement PluswarningFont Awesome Solidwarning-12-filledFluent UI System Iconswarning-16Fluent UI System Color IconswarningFluent EmojiwarningFluent Emoji FlatwarningFluent Emoji High ContrastwarningIonIconswarningMaterial SymbolswarningMaterial Symbols Lightwarning-fillMingCute IconwarningNoto EmojiwarningOpenMojiwarningPhosphorwarningTwitter Emoji
More typography icons from Health Icons
Use the warning icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 48 48"><path fill="currentColor" fill-rule="evenodd" d="M24 10a2 2 0 0 1 2 2v18a2 2 0 1 1-4 0V12a2 2 0 0 1 2-2m0 28a2 2 0 1 0 0-4a2 2 0 0 0 0 4" clip-rule="evenodd"/></svg>
React
import type { SVGProps } from "react";
export function HealthiconsWarning(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 48 48"><path fill="currentColor" fillRule="evenodd" d="M24 10a2 2 0 0 1 2 2v18a2 2 0 1 1-4 0V12a2 2 0 0 1 2-2m0 28a2 2 0 1 0 0-4a2 2 0 0 0 0 4" clipRule="evenodd"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 48 48"><path fill="currentColor" fill-rule="evenodd" d="M24 10a2 2 0 0 1 2 2v18a2 2 0 1 1-4 0V12a2 2 0 0 1 2-2m0 28a2 2 0 1 0 0-4a2 2 0 0 0 0 4" clip-rule="evenodd"/></svg> </template>
CSS
.icon-warning {
width: 24px;
height: 24px;
background-color: currentColor;
-webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cpath%20fill%3D%22currentColor%22%20fill-rule%3D%22evenodd%22%20d%3D%22M24%2010a2%202%200%200%201%202%202v18a2%202%200%201%201-4%200V12a2%202%200%200%201%202-2m0%2028a2%202%200%201%200%200-4a2%202%200%200%200%200%204%22%20clip-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cpath%20fill%3D%22currentColor%22%20fill-rule%3D%22evenodd%22%20d%3D%22M24%2010a2%202%200%200%201%202%202v18a2%202%200%201%201-4%200V12a2%202%200%200%201%202-2m0%2028a2%202%200%201%200%200-4a2%202%200%200%200%200%204%22%20clip-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/healthicons/warning.svg?color=%231a73e8&size=48