1. Icon Monks
  2. Maps icons
  3. Train

Train icon

The train icon is a free maps 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.

Train icon, thin weight
Thin
SVG
Train icon, light weight
Light
SVG
Train icon, regular weight
Regular
SVG
Train icon, bold weight
Bold
SVG
Train icon, fill weight
Fill
SVG
Train icon, duotone weight
Duotone
SVG

Open in the icon browserCustomize size and color, then download PNG, WebP or PDF.

About the train icon

Use it to stand for railway, transit and subway. The regular weight is a single path made of 6 shapes, and the duotone weight adds a 20% tint behind the outline. It comes with 3 variants for states and actions: train freight, train regional and train track.

Pairs well with the bus, bicycle and car icons, which share the “transit” theme. Use the same weight for all of them so they read as one set.

When to use the train icon

It belongs to the maps set, made for locations, navigation and travel apps. Pair it with the related icons below so a screen stays in one visual style.

Use the train icon in your code

React

import { Train } from '@icon-monks/react';

<Train size={24} />

Vue

<script setup>
import { Train } from '@icon-monks/vue';
</script>

<Train :size="24" />

Web component

<icon-monks name="train" size="24"></icon-monks>

Icon font

<i class="im im-train"></i>

Flutter

Icon(IconMonks.train)

SwiftUI

Image(iconMonks: .train)

Compose

import com.designmonks.icons.IconMonks
import com.designmonks.icons.regular.Train

Icon(IconMonks.Regular.Train, contentDescription = null)

Need setup steps? See the getting started guide or the page for React, Flutter, SwiftUI or Jetpack Compose.

Tags

Related maps icons

See all 238 maps icons

Similar icons in other categories

Questions about the train icon

Is the train icon free for commercial use?

Yes. The train 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 train 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 train icon?

Yes. The train icon has 3 variants, including train freight, train regional and train track. Each one keeps the same base shape and comes in all six weights.

Last updated with version 0.4.3. Release notes