ICONYZ
English
Train icon from Vaadin Icons

Train icon

vaadin:train

The Train icon (vaadin:train) is a free SVG icon from the Vaadin Icons set by Vaadin. It is drawn on a 24 × 24 grid. Vaadin Icons are released under the Apache 2.0 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
Vaadin Icons
Author
Vaadin
License
Apache-2.0
Size
24 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M13 11.2V3.8c0-1-.8-1.8-1.8-1.8H9V1h2V0H5v1h2v1H4.8C3.8 2 3 2.8 3 3.8v7.4c0 1 .8 1.8 1.8 1.8H5l-.7 1H3v1h.7L3 16h2l.6-1h4.9l.6 1h2l-.7-1h.6v-1h-1.3l-.7-1h.2c1 0 1.8-.8 1.8-1.8M4 3.9c0-.5.4-.9.9-.9H11c.6 0 1 .4 1 .9V6c0 .6-.4 1-.9 1H4.9c-.5 0-.9-.4-.9-.9zM4 11c0-.6.4-1 1-1s1 .4 1 1s-.4 1-1 1s-1-.4-1-1m5.9 3H6.1l.6-1h2.6zm.1-3c0-.6.4-1 1-1s1 .4 1 1s-.4 1-1 1s-1-.4-1-1"/></svg>

How to use the Train icon

React

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

<Icon icon="vaadin:train" width="24" />

Vue

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

<template>
  <Icon icon="vaadin:train" width="24" />
</template>

Svelte

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

<Icon icon="vaadin:train" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="vaadin:train"></iconify-icon>

HTML image

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

Train icon in other icon sets

Train icon FAQ

Is the Train icon free for commercial use?

Yes. Vaadin Icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.

How do I use the Train icon in React?

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

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

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

Browse all Vaadin Icons →