Transportation Train icon
streamline-pixel:transportation-train
The Transportation Train icon (streamline-pixel:transportation-train) is a free SVG icon from the Pixel free icons set by Streamline. It is drawn on a 32 × 32 grid. Pixel free icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Pixel free icons
- Author
- Streamline
- License
- CC-BY-4.0
- Size
- 32 × 32
- Category
- Transportation
- Tags
- transportationtrain
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path fill="currentColor" d="M3.045 16.76h25.91v7.62h1.52V3.04h-1.52v3.05H3.045V3.04h-1.52v21.34h1.52Zm13.72-9.15h12.19v7.62h-12.19Zm-13.72 0h12.19v7.62H3.045Z"/><path fill="currentColor" d="M27.425 24.38h1.53v1.52h-1.53Zm0-22.86h1.53v1.52h-1.53Zm-1.52 18.29h1.52v3.04h-1.52ZM4.575 25.9v1.52h3.04v1.53h-1.52v1.52h-1.52V32h3.04v-1.53h1.53v-1.52h1.52v-1.53h10.67v1.53h1.52v1.52h1.53V32h3.04v-1.53h-1.52v-1.52h-1.52v-1.53h3.04V25.9zm18.28-7.62h3.05v1.53h-3.05Zm0 4.57h3.05v1.53h-3.05Zm-1.52-3.04h1.52v3.04h-1.52Zm-7.62 0h4.57v3.04h-4.57Zm0-16.77h4.57v1.53h-4.57Zm-4.57 16.77h1.52v3.04h-1.52Zm-3.05-1.53h3.05v1.53h-3.05Zm0 4.57h3.05v1.53h-3.05ZM4.575 0h22.85v1.52H4.575Zm0 19.81h1.52v3.04h-1.52Zm-1.53 4.57h1.53v1.52h-1.53Zm0-22.86h1.53v1.52h-1.53Z"/></svg>How to use the Transportation Train icon
React
import { Icon } from "@iconify/react";
<Icon icon="streamline-pixel:transportation-train" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="streamline-pixel:transportation-train" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="streamline-pixel:transportation-train" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[streamline-pixel--transportation-train]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/streamline-pixel -->
<div class="i-streamline-pixel:transportation-train"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="streamline-pixel:transportation-train"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/streamline-pixel/transportation-train.svg" alt="Transportation Train icon" width="24" height="24">Related icons in Pixel free icons
Transportation Train icon FAQ
Is the Transportation Train icon free for commercial use?
Yes. Pixel free icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.
How do I use the Transportation Train icon in React?
Install @iconify/react and render <Icon icon="streamline-pixel:transportation-train" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Transportation Train icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/streamline-pixel/transportation-train.svg" alt="Transportation Train icon">, or paste the SVG code inline to style it with CSS.