ICONYZ
English
Train 2 icon from Cyber color icons

Train 2 icon

streamline-cyber-color:train-2

The Train 2 icon (streamline-cyber-color:train-2) is a free SVG icon from the Cyber color icons set by Streamline. It is drawn on a 24 × 24 grid. Cyber color 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
Cyber color icons
Author
Streamline
License
CC-BY-4.0
Size
24 × 24
Category
Transportation
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none"><path fill="#fff" d="M23.249 7.398H7.654L.75 15.58l3.45 6.135h19.05"/><path fill="#bbd8ff" d="M8.932 10.466v5.113H.752zM12 19.67v-7.478h5.113v7.478zm11.249-9.204L20.18 15.58h3.068z"/><path stroke="#092f63" stroke-linecap="round" stroke-linejoin="round" d="M23.249 7.398H7.654L.75 15.58l3.45 6.135h19.05"/><path stroke="#092f63" stroke-linecap="round" stroke-linejoin="round" d="M5.066 10.466h3.866v5.113H.752zm18.183 0H20.18v5.113h3.068M14.25 7.398l2.863-2.045l-3.58-3.068M12 19.67v-9.204h5.113v9.204zM10.466 2.285h6.647m6.136 17.385H3.05"/></g></svg>

How to use the Train 2 icon

React

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

<Icon icon="streamline-cyber-color:train-2" width="24" />

Vue

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

<template>
  <Icon icon="streamline-cyber-color:train-2" width="24" />
</template>

Svelte

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

<Icon icon="streamline-cyber-color:train-2" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[streamline-cyber-color--train-2]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/streamline-cyber-color -->
<div class="i-streamline-cyber-color:train-2"></div>

Web component

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

<iconify-icon icon="streamline-cyber-color:train-2"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/streamline-cyber-color/train-2.svg" alt="Train 2 icon" width="24" height="24">

Train 2 icon in other icon sets

Train 2 icon FAQ

Is the Train 2 icon free for commercial use?

Yes. Cyber color 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 Train 2 icon in React?

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

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

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

Browse all Cyber color icons →