Travel Train icon
zondicons:travel-train
The Travel Train icon (zondicons:travel-train) is a free SVG icon from the Zondicons set by Steve Schoger. It is drawn on a 20 × 20 grid. Zondicons 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
- Zondicons
- Author
- Steve Schoger
- License
- MIT
- Size
- 20 × 20
- Tags
- traveltrain
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="currentColor" d="M12 18H8l-2 2H3l2-2a2 2 0 0 1-2-2V2c0-1.1.9-2 2-2h10a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2l2 2h-3zM5 5v6h10V5zm1.5 11a1.5 1.5 0 1 0 0-3a1.5 1.5 0 0 0 0 3m7 0a1.5 1.5 0 1 0 0-3a1.5 1.5 0 0 0 0 3M8 2v1h4V2z"/></svg>How to use the Travel Train icon
React
import { Icon } from "@iconify/react";
<Icon icon="zondicons:travel-train" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="zondicons:travel-train" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="zondicons:travel-train" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[zondicons--travel-train]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/zondicons -->
<div class="i-zondicons:travel-train"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="zondicons:travel-train"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/zondicons/travel-train.svg" alt="Travel Train icon" width="24" height="24">Related icons in Zondicons
Travel Train icon FAQ
Is the Travel Train icon free for commercial use?
Yes. Zondicons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Travel Train icon in React?
Install @iconify/react and render <Icon icon="zondicons:travel-train" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Travel Train icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/zondicons/travel-train.svg" alt="Travel Train icon">, or paste the SVG code inline to style it with CSS.