Material Design Train Icon

Train 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 train to any element to add the icon. Material Design Train Icon can be resized as per your need. You can manage size of icon(train) by using font-size css style.

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

How to add Material Design Train Icon ?

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

Train

train

1. Web

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

thumb_up

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


thumb_up

Train

train

Icon

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

Code

train

Train

train

Icon

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

Code

train

Train

train

Icon

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

Code

train

Train

train

Icon

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

Code

train

Train

train

Icon

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

Code

train

2. Vuetify Icon Train

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

thumb_up

<v-icon>train</v-icon>

3. Material Ui Icon Train - React

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

thumb_up

import TrainIcon from '@mui/icons-material/Train'

3. Angular Material Icon Train - mat-icon

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

thumb_up

<mat-icon>train</mat-icon>

Tags

automobile, car, cars, direction, maps, public, rail, subway, train, transportation, vehicle

train

train

train

train


Material Icon Train Icon | train | HTML, CSS

Adding Material Icon icon HTML Train(train) 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 Train Icon Train as per your requirement, suppose that you need to chnage the color of Train icon or change the size of size. It is pretty simple to change color of icon Train just add style="color:red" it will make font color red. On the same way you can change size of Train icon by just adding style="font-size:50px;". Smililarly you can add border color, shadow and other font styles to Train. Hope this icon fullfilled your need. Thanks for visiting us.

Change Material Icon Icon Train 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"> train</span>
<span class="material-icons green-color">train </span>
<span class="material-icons teal-color"> train</span>
<span class="material-icons yellow-color">train </span>
<span class="material-icons red-color">train </span>

Output of the above example will be as below-

train train train train train
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



Related Icons

train- Faq(s)?

⭐What is the Material Design Train Icon code?

Icon Code is - train.

⭐ What is Vuetify Train Icon code?

Vuetify Train Icon code is: train

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

import trainIcon from '@mui/icons-material/train

⭐ What is Angular Material Train Icon code?

Train.

Advertisements



For More Icons?