Train icon
fluent-emoji-flat:train
The Train icon (fluent-emoji-flat:train) is a free SVG icon from the Fluent Emoji Flat set by Microsoft Corporation. It is drawn on a 32 × 32 grid. Fluent Emoji Flat 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 Flat
- 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="none"><path fill="#212121" d="M22.59 23.13c-.767.12-1.166.05-1.59.37c-.4.302-.5.5-.863 1.495h.746c.538 0 .731.241.94.547c.168.244.274.41.306.461H9.855c.047-.065.18-.259.335-.51c.193-.313.683-.498.973-.498h.7c0-.737-.437-1.166-.863-1.495c-.39-.302-.81-.37-1.59-.37l-3.023 4.317A2.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.228zM24 28H8l.42-.584A1 1 0 0 1 9.233 27h13.536a1 1 0 0 1 .811.416z"/><path fill="#3f5fff" d="M25 16v1a9 9 0 1 1-18 0v-1z"/><path fill="#9b9b9b" d="M24.828 8.34A8 8 0 0 0 17 2h-2a8 8 0 0 0-7.831 6.358c-.33 1.58.246 2.68.831 4.142c-.469 1.171-1.086 2.225-.945 3.5a9.001 9.001 0 0 0 17.89 0c0-1.084-1.227-1.282-1.945-2c.467-1.87 1.945-3.63 1.828-5.66"/><path fill="#5092ff" d="M7 14v2h1.5a1.5 1.5 0 0 0 1.5-1.5V14L7.172 8.344A8 8 0 0 0 7 10zm18 0v2h-1.5a1.5 1.5 0 0 1-1.5-1.5V14l2.828-5.656q.17.803.172 1.656z"/><path fill="#ffb02e" d="M11.5 20a1.5 1.5 0 1 0 0-3a1.5 1.5 0 0 0 0 3m9 0a1.5 1.5 0 1 0 0-3a1.5 1.5 0 0 0 0 3"/><path fill="#212121" d="M14 18.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5"/><path fill="#26c9fc" d="M10.243 8.97A4 4 0 0 1 14.123 4h3.754a4 4 0 0 1 3.88 4.97l-.787 3.15a5.123 5.123 0 0 1-9.94 0z"/></g></svg>How to use the Train icon
React
import { Icon } from "@iconify/react";
<Icon icon="fluent-emoji-flat:train" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="fluent-emoji-flat:train" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="fluent-emoji-flat:train" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[fluent-emoji-flat--train]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/fluent-emoji-flat -->
<div class="i-fluent-emoji-flat: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-flat:train"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/fluent-emoji-flat/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 Flat 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-flat: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-flat/train.svg" alt="Train icon">, or paste the SVG code inline to style it with CSS.