ICONYZ
English
Train Outline icon from Glyphs

Train Outline icon

glyphs:train-outline

The Train Outline icon (glyphs:train-outline) is a free SVG icon from the Glyphs set by Goran Spasojevic. It is drawn on a 80 × 80 grid. Glyphs icons are released under the MIT 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
Glyphs
Author
Goran Spasojevic
License
MIT
Size
80 × 80
Tags
trainoutline
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80" viewBox="0 0 80 80"><g fill="none" fill-rule="evenodd" clip-rule="evenodd"><path fill="currentColor" fill-opacity=".25" d="M40 45a5 5 0 1 0 0 10a5 5 0 0 0 0-10m-1 5a1 1 0 1 1 2 0a1 1 0 0 1-2 0"/><path fill="currentColor" fill-opacity=".25" d="M66 23.922A13.92 13.92 0 0 0 52.078 10H27.922A13.923 13.923 0 0 0 14 23.923v24.15a13.92 13.92 0 0 0 10.583 13.516l-4.997 4.997a2 2 0 1 0 2.828 2.828l7.42-7.419h20.333l7.419 7.42a2 2 0 1 0 2.828-2.83l-4.997-4.996A13.92 13.92 0 0 0 66 48.073zm-44.456-7.6A9.92 9.92 0 0 1 27.922 14h24.156a9.92 9.92 0 0 1 9.734 8H18.188a9.92 9.92 0 0 1 3.356-5.679M18 48.071V42h44v6.073a9.92 9.92 0 0 1-9.922 9.922H27.922A9.923 9.923 0 0 1 18 48.073M62 26v12H18V26z"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" d="M40 45a5 5 0 1 0 0 10a5 5 0 0 0 0-10m-1 5a1 1 0 1 1 2 0a1 1 0 0 1-2 0"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" d="M66 23.922A13.92 13.92 0 0 0 52.078 10H27.922A13.923 13.923 0 0 0 14 23.923v24.15a13.92 13.92 0 0 0 10.583 13.516l-4.997 4.997a2 2 0 1 0 2.828 2.828l7.42-7.419h20.333l7.419 7.42a2 2 0 1 0 2.828-2.83l-4.997-4.996A13.92 13.92 0 0 0 66 48.073zm-44.456-7.6A9.92 9.92 0 0 1 27.922 14h24.156a9.92 9.92 0 0 1 9.734 8H18.188a9.92 9.92 0 0 1 3.356-5.679M18 48.071V42h44v6.073a9.92 9.92 0 0 1-9.922 9.922H27.922A9.923 9.923 0 0 1 18 48.073M62 26v12H18V26z"/></g></svg>

How to use the Train Outline icon

React

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

<Icon icon="glyphs:train-outline" width="24" />

Vue

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

<template>
  <Icon icon="glyphs:train-outline" width="24" />
</template>

Svelte

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

<Icon icon="glyphs:train-outline" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="glyphs:train-outline"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/glyphs/train-outline.svg" alt="Train Outline icon" width="24" height="24">

Related icons in Glyphs

Train Outline icon in other icon sets

Train Outline icon FAQ

Is the Train Outline icon free for commercial use?

Yes. Glyphs icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Train Outline icon in React?

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

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

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

Browse all Glyphs icons →