ICONYZ
English
Train Station icon from Map Icons

Train Station icon

map:train-station

The Train Station icon (map:train-station) is a free SVG icon from the Map Icons set by Scott de Jonge. It is drawn on a 50 × 50 grid. Map Icons are released under the Open Font License, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Map Icons
Author
Scott de Jonge
License
OFL-1.1
Size
50 × 50
Tags
trainstation
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="50" height="50" viewBox="0 0 50 50"><path fill="currentColor" d="m34.641 37.807l-.113-.216l.057-.081l.057-.081a13.4 13.4 0 0 0 2.861-1.604q1.28-.958 1.721-2.809l.215-.988V6.507c0-.616-.184-1.255-.547-1.905a7.3 7.3 0 0 0-1.365-1.777a7.8 7.8 0 0 0-1.824-1.311Q34.691.999 33.764 1H15.499q-.875-.002-1.885.487a7.8 7.8 0 0 0-1.854 1.257a7 7 0 0 0-1.39 1.713c-.364.645-.547 1.267-.547 1.89v25.901c0 .436.115.891.327 1.363q.33.71.818 1.331c.326.426.685.807 1.067 1.15s.753.627 1.118.844c.176.074.499.188.957.333q.674.216.624.321L7.258 48.936h4.361l5.457-7.909h15.055l5.451 7.909H42zM20.294 3.179c0-.183.087-.37.273-.575q.268-.297.545-.295h6.982c.07 0 .221.07.438.213q.323.219.324.436V5.63c0 .183-.092.351-.271.49c-.184.15-.35.226-.49.226H21.06l-.222-.173a2 2 0 0 1-.353-.301a.55.55 0 0 1-.191-.401zm-7.037 7.472c0-.363.086-.719.247-1.066c.162-.345.373-.66.627-.955c.256-.292.556-.521.898-.704a2.26 2.26 0 0 1 1.068-.274H33.06c.322 0 .65.076.977.214c.328.146.627.35.902.602c.274.252.489.532.655.822c.162.284.242.596.242.923v5.783c0 .328-.088.638-.27.95a3 3 0 0 1-.709.827a4 4 0 0 1-.928.564a2.25 2.25 0 0 1-.979.22H16.206l-.276-.049a1.7 1.7 0 0 1-.329-.113q-.922-.16-1.633-.982q-.711-.818-.711-1.797zm5.049 22.526c-.563.581-1.268.871-2.1.871q-1.255 0-2.05-.871c-.526-.58-.789-1.294-.789-2.131q0-1.144.821-1.986q.816-.85 2.018-.851c.832 0 1.536.27 2.1.789c.564.533.845 1.226.845 2.105q0 1.203-.845 2.074m12.489 0c-.562-.58-.848-1.294-.848-2.131c0-.838.299-1.515.9-2.048a3.12 3.12 0 0 1 2.104-.789c.83 0 1.516.285 2.043.851c.525.562.793 1.224.793 1.986c0 .837-.275 1.551-.82 2.131c-.549.581-1.236.871-2.076.871q-1.252 0-2.096-.871"/></svg>

How to use the Train Station icon

React

import { Icon } from "@iconify/react";

<Icon icon="map:train-station" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="map:train-station" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="map:train-station" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[map--train-station]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/map -->
<div class="i-map:train-station"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="map:train-station"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/map/train-station.svg" alt="Train Station icon" width="24" height="24">

Train Station icon in other icon sets

Train Station icon FAQ

Is the Train Station icon free for commercial use?

Yes. Map Icons are released under the Open Font License, which allows use in personal and commercial projects.

How do I use the Train Station icon in React?

Install @iconify/react and render <Icon icon="map:train-station" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Train Station icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/map/train-station.svg" alt="Train Station icon">, or paste the SVG code inline to style it with CSS.

Browse all Map Icons →