Material Design Warning Icon

Material Design Warning Icon refers to something that tells you to be careful or foretell, predict, and forecast about something, usually something bad before it happens. This Material Design Warning icon code is "warning". You can use this warning icon as Vuetify, Material UI, and Angular Material (Mat Icon).

Warning Icon is given below. You can use this icon on the same way in your project. First make sure you have added Material Icon library. If this library is added just add the HTML css class warning to any element to add the icon. Material Design Warning Icon can be resized as per your need. You can manage size of icon(warning) by using font-size css style.

You can get steps to add HTML icon Warning in Web, Vuetify, Material UI, Material Design and Angular Material framwork.

How to add Material Design Warning Icon ?

Material Icon warning Icon can be added to any web page simply as below.

1. Web

You can integrate Icon in web pages by just adding following below syntax & icon code.

thumb_up

Icon -
<span class="material-icons">warning</span>
Icon Code -
warning


thumb_up

Warning

warning

Icon

<span class='material-icons-outlined'>warning</span>

Code

warning

Warning

warning

Icon

<span class='material-icons'>warning</span>

Code

warning

Warning

warning

Icon

<span class='material-icons-round'>warning</span>

Code

warning

Warning

warning

Icon

<span class='material-icons-sharp'>warning</span>

Code

warning

Warning

warning

Icon

<span class='material-icons-two-tone'>warning</span>

Code

warning

2. Vuetify Icon Warning

You can add icon in vuetify(VueJS) material design framework just as below-

thumb_up

<v-icon>warning</v-icon>

3. Material Ui Icon Warning - React

You can add icon in MaterialUi react framework just as below-

thumb_up

import WarningIcon from '@mui/icons-material/Warning'

3. Angular Material Icon Warning - mat-icon

You can add mat icon Angular Material in Angular Material framework by just adding below code-

thumb_up

<mat-icon>warning</mat-icon>

Tags

!, alert, attention, caution, danger, error, exclamation, important, mark, notification, symbol, triangle, warning,Vuetify Warning Icon (Vue Js), Material Ui Warning Icon (React Js), Mat Icon Warning (Angular Material)

warning

warning

warning

warning


Material Icon Warning Icon | warning | HTML, CSS

Adding Material Icon icon HTML Warning(warning) in web project is very simple. You need to add the icon class along with material-icons, it is basically main class and mandatory for icons so do not forget to add this class. You can customize Material Icon Warning Icon Warning as per your requirement, suppose that you need to chnage the color of Warning icon or change the size of size. It is pretty simple to change color of icon Warning just add style="color:red" it will make font color red. On the same way you can change size of Warning icon by just adding style="font-size:50px;". Smililarly you can add border color, shadow and other font styles to Warning. Hope this icon fullfilled your need. Thanks for visiting us.

Change Material Icon Icon Warning Color

Sometimes we need icons in different color, as we suggested by adding css style we can change color. Here we have created one example to change color of icons with css classes.


    <style>
.blue-color {
color:blue;
}
.green-color {
color:green;
}
.teal-color {
color:teal;
}
.yellow-color {
color:yellow;
}
.red-color {
color:red;
}
</style>
<span class="material-icons blue-color"> warning</span>
<span class="material-icons green-color">warning </span>
<span class="material-icons teal-color"> warning</span>
<span class="material-icons yellow-color">warning </span>
<span class="material-icons red-color">warning </span>

Output of the above example will be as below-

warning warning warning warning warning
Note- Make Sure You have included the below Material Design file in header-

        <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
    

Advertisements



warning- Faq(s)?

⭐What is the Material Design Warning Icon code?

Icon Code is - warning.

⭐ What is Vuetify Warning Icon code?

Vuetify Warning Icon code is: warning

⭐What is Material UI Warning Icon (React) code?

import warningIcon from '@mui/icons-material/warning

⭐ What is Angular Material Warning Icon code?

Warning.

Advertisements



For More Icons?