Train icon
fluent-emoji-high-contrast:train
The Train icon (fluent-emoji-high-contrast:train) is a free SVG icon from the Fluent Emoji High Contrast set by Microsoft Corporation. It is drawn on a 32 × 32 grid. Fluent Emoji High Contrast 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
- Fluent Emoji High Contrast
- Author
- Microsoft Corporation
- License
- MIT
- Size
- 32 × 32
- Category
- Travel & Places
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><g fill="currentColor"><path d="M13 18.5a1.5 1.5 0 1 1-3 0a1.5 1.5 0 0 1 3 0m9 0a1.5 1.5 0 1 1-3 0a1.5 1.5 0 0 1 3 0m-8 0a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5"/><path fill-rule="evenodd" d="M10.243 8.97A4 4 0 0 1 14.122 4h3.754a4 4 0 0 1 3.88 4.97l-.787 3.15a5.123 5.123 0 0 1-9.94 0zM14.122 5h3.754a3 3 0 0 1 2.91 3.728L20 11.877a4.123 4.123 0 0 1-8 0l-.787-3.15A3 3 0 0 1 14.123 5" clip-rule="evenodd"/><path d="M15 1a9 9 0 0 0-9 9v6a9.97 9.97 0 0 0 3.241 7.37l-2.854 4.077A2.14 2.14 0 0 0 6 28.675C6 29.407 6.593 30 7.325 30h17.35c.732 0 1.325-.593 1.325-1.325c0-.44-.135-.868-.387-1.228l-2.854-4.077A9.97 9.97 0 0 0 26 16v-6a9 9 0 0 0-9-9zm-3.364 24c1.319.64 2.8 1 4.364 1a9.96 9.96 0 0 0 4.364-1h.628c.539 0 .732.241.94.547c.168.244.274.41.306.462H9.964c.048-.066.18-.26.335-.51c.193-.314.684-.499.973-.499zm1.953-21.858A7 7 0 0 1 15 3h2a7 7 0 0 1 7 7l-1.812 3.625c-.163.325-.188.505-.188.875a1.5 1.5 0 0 0 1.5 1.5h.438a8.001 8.001 0 0 1-15.876 0H8.5a1.5 1.5 0 0 0 1.5-1.5c0-.405-.048-.595-.228-.955L8 10q.001-.453.056-.893a7.01 7.01 0 0 1 5.533-5.965M8 12.236l.878 1.756c.076.151.095.211.103.247c.009.035.019.096.019.261a.5.5 0 0 1-.5.5H8zM24 15h-.5a.5.5 0 0 1-.5-.5c0-.171.007-.226.013-.257a.7.7 0 0 1 .07-.171L24 12.236zm0 13H8l.42-.584A1 1 0 0 1 9.233 27h13.536a1 1 0 0 1 .811.416z"/></g></svg>How to use the Train icon
React
import { Icon } from "@iconify/react";
<Icon icon="fluent-emoji-high-contrast:train" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="fluent-emoji-high-contrast:train" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="fluent-emoji-high-contrast:train" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[fluent-emoji-high-contrast--train]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/fluent-emoji-high-contrast -->
<div class="i-fluent-emoji-high-contrast:train"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="fluent-emoji-high-contrast:train"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/fluent-emoji-high-contrast/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. Fluent Emoji High Contrast icons are released under the MIT 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="fluent-emoji-high-contrast: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/fluent-emoji-high-contrast/train.svg" alt="Train icon">, or paste the SVG code inline to style it with CSS.